Menu seems to have limit on MenuItems

Asked by Gabriel Gendler

I have written an AppIndicator in python whose menu is very large - it is in a menu/submenu system but in total there are over five thousand entries (including separators and submenus).
Further down in the menu, the submenus appear blank - I can only assume that gtk.Menu() only allows for a limitted number of menu.append(item) and submenu.append(item) functions.
My questions are:
Is it the case that there is a limitted or is this an error in my code?
If there is a limit:
   How big is it?
   Can it be overridden?
   If it can't be overridden:
      How else can I get around this problem?
      Please could you increase or remove the limit soon?

Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pygtk Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

At first glance couldn't find a limit in gtk.MenuItem.
http://developer.gnome.org/pygtk/stable/

Maybe report it upstream.

Revision history for this message
Sam_ (and-sam) said :
#2

Or ask experts on #ayatana channel.
https://wiki.ubuntu.com/Ayatana

Can you help with this problem?

Provide an answer of your own, or ask Gabriel Gendler for more information if necessary.

To post a message you must log in.