Re: Subclassing Gtk::Window leads to broken menubar. (was Gtk::Menu No submenus.)



On Thu, May 11, 2006 at 08:58:33AM -0500, Jonathon Jongsma wrote:
> On 5/11/06, Mohammed Sameer <msameer foolab org> wrote:
> >Hi all,
> >I'm still a gtkmm newbie.
> >
> >I'm subclassing Gtk::Window and creating a menubar in the
> >constructor "see the attached code please".
> >
> >The menubar is created but it has no sub menus,
> >Did I hit a bug ? Or am I doing something wrong ?
> >
> >Attached a code sample:
> >g++ -o m m.cc `pkg-config gtkmm-2.4 --cflags --libs`
> >

Well, I also discovered that if I create the menubar in a class method
"not the constructor" it'll be the same situation

Any idea what's going on or how to debug ? I'm afraid I might be hitting a bug!!


-- 
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]