Ive just copied and pasted that code in and am getting exactly the same
symptoms, so I dont know why what you're seeing is different. It shows
the FIRST time showGeneralPage() is called but not the second or third.
The second time its called the label is invisible
David Nečas wrote:
On Wed, J
On Wed, Jan 13, 2010 at 08:26:57PM +, Andrew Wood wrote:
> Just tried it with a simple vbox and label created manually and am
> getting exactly the same problem so its not specific to libglade
If I do this:
--- main.cpp.orig 2010-01-13 22:36:25.0 +0100
+++ main.cpp2010-01-
Just tried it with a simple vbox and label created manually and am
getting exactly the same problem so its not specific to libglade
David Nečas wrote:
On Wed, Jan 13, 2010 at 10:33:07AM +, Andrew Wood wrote:
Still getting strange results with this.
Ive posted a skeleton app at www.si
Great thanks
On 13 Jan 2010, at 11:05, David Nečas wrote:
On Wed, Jan 13, 2010 at 10:33:07AM +, Andrew Wood wrote:
Still getting strange results with this.
Ive posted a skeleton app at www.simple.org/TCSAdminGTK.tar
which
is a single source file which can be comiled with g++ ./ma
On Wed, Jan 13, 2010 at 10:33:07AM +, Andrew Wood wrote:
> Still getting strange results with this.
>
> Ive posted a skeleton app at www.simple.org/TCSAdminGTK.tar which
> is a single source file which can be comiled with g++ ./main.cpp
> `pkg-config --cflags --libs libgnome-2.0 libgno
Still getting strange results with this.
Ive posted a skeleton app at www.simple.org/TCSAdminGTK.tar which
is a single source file which can be comiled with g++ ./main.cpp
`pkg-config --cflags --libs libgnome-2.0 libgnomeui-2.0 libglade-2.0`
When you click one of the options on the left
I thought it was probably gtk_widget_ref but although that has cleared
the warnings the widgets dont display themselves the 2nd or 3rd time the
function is called, only the first time. The code is now:
void showGeneralPage()
{
g_print("Showing General Page\n");
if (generalpageinitialised=
On Fri, Dec 25, 2009 at 01:01:36AM +, Andrew Wood wrote:
> Thanks Tristan. I think I follow what you're saying...
>
> The call to gtk_container_remove is decrementing the ref count so
> generalpage becomes NULL?
>
> Is there a way to "up" the count immediately prior to calling
> gtk_conta
Thanks Tristan. I think I follow what you're saying...
The call to gtk_container_remove is decrementing the ref count so
generalpage becomes NULL?
Is there a way to "up" the count immediately prior to calling
gtk_container_remove
Tristan Van Berkom wrote:
Ahh you mean it shows up and
Ahh you mean it shows up and everything the first time, I see.
I think you are missing a reference to the generalpage widget.
Its initially built as a floating, and then the floating reference is
"sink"ed the first time you add it somewhere, when you remove it
the first time; its destroyed becaus
On Thu, Dec 24, 2009 at 6:40 PM, Andrew Wood wrote:
> But that bit of code only runs the first time and the first time it works.
>
>
> On 24 Dec 2009, at 19:09, Tristan Van Berkom wrote:
>
>> From the assertions it *looks* like glade_xml_get_widget() is
>> returning NULL for "mainvbox".
You mean
But that bit of code only runs the first time and the first time it
works.
On 24 Dec 2009, at 19:09, Tristan Van Berkom wrote:
From the assertions it *looks* like glade_xml_get_widget() is
returning NULL for "mainvbox".
Cheers,
-Tristan
On Thu, Dec 24, 2009 at 11:29 AM, Andrew Wood
>From the assertions it *looks* like glade_xml_get_widget() is
returning NULL for "mainvbox".
Cheers,
-Tristan
On Thu, Dec 24, 2009 at 11:29 AM, Andrew Wood wrote:
> The following function is called to display a vbox, which is read from a
> glade file, in a scrollview.
>
> If the vbox or
The following function is called to display a vbox, which is read from a
glade file, in a scrollview.
If the vbox or 'page' hasnt been displayed before then
generalpageinitialised will be false.
There are other 'pages' in the app which are vboxes read from a glade
file in the same way. The
14 matches
Mail list logo