Re: Gtk::Menu No submenus.
- From: Mohammed Sameer <msameer foolab org>
- To: gtkmm-list gnome org
- Subject: Re: Gtk::Menu No submenus.
- Date: Mon, 15 May 2006 10:12:22 +0300
On Sun, May 14, 2006 at 06:59:18AM -0500, Paul Davis wrote:
> Mohammed,
>
> Totally meant to write back the other day, but this one slipped my mind.
>
> Not exactly sure what the problem is. You're working with references
> and static objects. I'm not entirely sure how that affects things
> really though. *All* of my widgets get allocated by doing
>
> Gtk::Widget* blah = Gtk::manage( new Gtk::Widget() ) ;
>
> When in Rome, try not to piss off the Romans. Dunno where I learned
> this type of instantiation, but basically, for anything thats not a
> window, do it this way. Oh, I think I got it by looking at the gtk--
> generated C++ code IIRC.
>
I don't mind pretending to be one of the Romans :-)
This one worked like a charm! Thanks a million.
I was sure I still have a lot to learn.
Many thanks,
--
GNU/Linux registered user #224950
Proud Egyptian GNU/Linux User Group <www.eglug.org> Member.
Life powered by Debian, Homepage: www.foolab.org
--
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]