RE: Problem with Gtkmm and Builder
- From: "Anderson, Tim L. (US SSA)" <tim anderson3 baesystems com>
- To: Krzesimir Nowak <qdlacz gmail com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: RE: Problem with Gtkmm and Builder
- Date: Fri, 17 Dec 2010 15:36:24 -0800
I finally got around to trying this and I get the same result as before.
Tim Anderson
NAWCWPNS Field Engineer
BAE Systems
Network Systems
Tim Anderson3 BAESystems com
(760) 939-8871 (w)
(760) 608-3813 (c)
-----Original Message-----
From: Krzesimir Nowak [mailto:qdlacz gmail com]
Sent: Tuesday, December 14, 2010 12:58 AM
To: Anderson, Tim L. (US SSA)
Cc: gtkmm-list gnome org
Subject: Re: Problem with Gtkmm and Builder
2010/12/14 Tim.Anderson <tim anderson3 baesystems com>:
>
> I am trying to build a simple GUI and have been having trouble getting
> the Widgets to display fully. The size of my window appears to be
> about the size I would expect it to be and I can click where the
> button should be and the event gets fired even though I can't actually see the button.
>
> I decided to try using Glade and Gtk::Builder to see if this would
> help, but I get the same results.
>
> Here is my code:
>
> http://old.nabble.com/file/p30451024/GUI.h GUI.h
> http://old.nabble.com/file/p30451024/GUI.cpp GUI.cpp
> http://old.nabble.com/file/p30451024/main.cpp main.cpp
>
> Here a screenshot from Glade that shows what I'm trying to do. A
> simple window with a DrawingArea, a Start Button below it and a
> statusBar and progressBar split under the button.
>
> http://old.nabble.com/file/p30451024/guiglade.jpg
>
> I then run my program and this is the window that I get. Note that
> the progressBar almost appears but everything else is invisible.
>
> http://old.nabble.com/file/p30451024/guiqc.jpg
>
> I pulled this from the gtkmm tutorial
> http://library.gnome.org/devel/gtkmm-tutorial/stable/sec-builder-using
> -derived-widgets.html.en Programming with gtkmm - Using derieved
> widges and I can't figure out why my Widgets are not showing.
> :confused:
>
> Any help would be greatly appreciated.
Try calling gui->show_all() before Gtk::Main::run (*gui).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]