From: Patrick Shirkey <kotau@fi...> - 2001-03-15 03:56:23
I am trying to get the plugins menu to work correctly.
Currently the filters dissapear off the screen and this means that the ones at the bottom of the menu cannot be accessed.
What I have managed to do is get the ladspa plugins into a seperate submenu, but at the expense of not being able to use the native plugins.
This is obviously a stop gap and not really very useful as one day the ladspa submenu will be too full and dissapear off the page.
Does anyone know how to get a GTK menu to automatically extend itself if there are to many options?
I'm thinking an arrow at the bottom of the menu that allows the menu to be extended if a user places a mouse over it.
The optimal approach would be to split the plugins menu into submenus like ladspa, ecasound, csound... then to design a way of splitting each of those up into submenus so that if there are many variations on an effect (like the numerous echo delays in ladspa) they will be put into a submenu using the first word in the name of the effect.
To do this I am trying to figure out how the plugins.c file associates with the plugins dir.
Mainly though, can someone suggest a way of getting a menu to autoscroll or automatically create an extension to itself using GTK.
Want a new web-based email account ? ---> http://www.firstlinux.net
From: Michael Krause <m.krause@tu...> - 2001-03-15 16:08:43
On Wed, 14 Mar 2001, Patrick Shirkey wrote:
> Currently the filters dissapear off the screen and this means that the ones
at the bottom of the menu cannot be accessed.
I had to fix this for SoundTracker, too. Too bad that even the GNOME
GNOME libraries don't take care of this automatically.
I add a "(more)" subtree to the menu once it gets too long. Netscape
does this with the Bookmarks, too.
> Mainly though, can someone suggest a way of getting a menu to autoscroll or
automatically create an extension to itself using GTK.
Unfortunately, you don't get anything automatically here.
m. krause - raw style ^ farb-rausch ^ lego - http://www.tu-harburg.de/~semk2104/