Re: [gtkmm] i am too dumb for this (menus)
- From: Daniel Sundberg <dss home se>
- To: a_k_b <a_k_b web de>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] i am too dumb for this (menus)
- Date: Tue, 17 Jun 2003 12:43:51 +0200
On Tue, 17 Jun 2003 12:29:50 +0200
a_k_b <a_k_b web de> wrote:
> hi there,
>
> i just changed from gtk+ to gtkmm and want to rebuild my menubar now. but whatever i try, id doesnt work :-(
> isnt there a better resource than just a reference manual? i would prefer a small tut only for a menubar or something... *lol*
> hm... or does anyone have an example for me, where he put the basic menu construction into a separate window subfunction?
> i think that would be the cleanest and easiest to learn way for me :-/
>
If you have got the source distribution of gtkmm2 there is an example directory where you can find a couple of menu examples (examples/book/menus). There is also an example in the demo (demo subdir in the source distribution).
---
Daniel Sundberg
http://gspeakers.sf.net
> wanna create a my_menubar object and add this simply by
> // mainwindow.cc
> mainBox.pack_start(my_menubar,Gtk::PACK_SHRINK);
> to my main VBox.
>
> i already tried with glade-2/glade--, but this generated me much too much stuff around it. for now only the appearance of the menu is
> important, no signal handlers or something like that. i'm a n00b as you can see and i think that would be a nice training job for me ->
> understanding such a menubar object :-)
> ah, another thing: using glade-- i got a class and a copy of this class (dont know the english word for this). mainwindow.cc and mainwindow_glade.cc and so on. is there a way to tell glade-- only to put this into ONE class? its that much stuff i think i dont really need if i just want to simply create a menubar *lol*
>
> well, hope i didnt bother you too much with this stuff. :-)
>
> arne
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]