[Glade-users] cant find a way to create drop downs in toolbar buttons using glade
- From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
- Subject: [Glade-users] cant find a way to create drop downs in toolbar buttons using glade
- Date: Mon, 20 Oct 2008 13:51:54 -0400
This is a long long standing open bug, glade just doesnt do it.
GtkMenuToolButton is working in terms of load and save but theres
just no way to add a menu to the menutoolbutton as a child.
Cheers,
-Tristan
Developer notes about fixing the problem:
This should probably be done in the post-create-function of the menutoolbutton
(it should just create a menu and add it so that menutoolbuttons come with
a menu by default).
On Mon, Oct 20, 2008 at 8:35 AM, anusha k <anuhacks at gmail.com> wrote:
hai,
i am still stuck with my problem in how to use "toolbar button with menu"
which is present on gtk+additional (not toolbar button).but i am not able to
add any menu to that toolbar button and how to add to access it.
Thanks in advance.
On Sun, Oct 19, 2008 at 11:48 PM, PEYMAN ASKARI <paskari007 at yahoo.ca> wrote:
Sorry, it's out of my area of expertise. Better leave this until tomorrow,
someone is bound to respond
anusha k <anuhacks at gmail.com> wrote:
hey,
you really misunderstood my question.i am sending a screenshot of what i
made .In that you can see that a toolbar is added.on that i added "toolbar
button with menu" which is present on gtk+additional (not toolbar
button).but i am not able to add any menu to that toolbar button .can u help
me in this.hope you understood my question.
Bye.Thank you very much for your help.
Njoy the share of Freedom,
Anusha
On Sun, Oct 19, 2008 at 6:55 PM, PEYMAN ASKARI <paskari007 at yahoo.ca>
wrote:
So I just added a menubar widget to my window widget
Then I clicked on "Edit Menus" In the "Properties" tab
Then you can click "Add" to add items such as "File_2" or "Edit_2" (I
don't know what these widgets are called...the names confuse me
Alternatively, you can click "Add Child" to add things like "Cut" or
"Paste" (these can be nested arbitrarilly deep)
It's pretty intuitive IMO, so either you haven't tried using it, or I'm
misunderstanding the question
anusha k <anuhacks at gmail.com> wrote:
hey
thanks for your reply.i more thing now i added tool bar and then added
the toolbar-button-with-menu(which is present in gtk-additional) but i am
not able to add menu list in that can u tell me how to access it.
bye.
Njoy the share of Freedom
Anusha
On Sat, Oct 18, 2008 at 6:41 PM, PEYMAN ASKARI <paskari007 at yahoo.ca>
wrote:
Well it's pretty easy with glade 2 (more or less the same with glade 3)
In the palette select 'Menu Bar' and it will create your default 'File |
Edit | View' buttons, then under the properties tab you click on 'Edit
Menus'. From here it's pretty simple to rename menus, and connect signals to
them.
One wierd thing I have noticed with glade is that it has a tendency to
completely muck up your menubar. So you'll spend an hour connecting all the
signals, and changing all the names, then a month later, 'poof', they're
magically all gone!
Peter
anusha k <anuhacks at gmail.com> wrote:
hi
i mean to create a toolbar button with menu same as we seen NEW|SAVE in
gedit. And also trying to add menu items in that using Glade-2.please tell
me
Thanks in advance.
bye
Njoy the share of Freedom
Anusha
On Sat, Oct 18, 2008 at 5:28 PM, Peyman <paskari007 at yahoo.ca> wrote:
Hey
When you say buttons with a drop down list, do you mean like the 'File
| Edit |...' menu bar, or do you mean a treeview wich compacts and expands.
I'm at a bit of a loss as to how a button would expand.
On 18 Oct 2008, at 12:10, anusha k wrote:
hello,
i am newbie in creating GUI using glade.i know pygtk very well and can
manage to write GUI using pure pygtk code.however now i have started to use
glade and i am trying to create toolbar with buttons which will dropdown
list of choices and button will have a typical down arrow which indicates
that the button contains a dropdown .so can anyone give me suggestion on
creating a dropdown in toolbar button.
thanks in advance.
Njoy the share of Freedom,
Anusha kadambala
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]