Re: set_label of GtkFrame

From: Date: Thu, 02 Feb 2006 16:08:30 +0000
Subject: Re: set_label of GtkFrame
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2319@lists.php.net to get a copy of this message
This code loose the label... $this->frame_codigo=$this->xml->get_widget('frame_codigo'); $this->frame_codigo->set_label('testing'); but... when I put the line of Dev_GuiInspector.... the label is shown correctly. $this->frame_codigo=$this->xml->get_widget('frame_codigo'); $this->frame_codigo->set_label('testing'); $gi = new Dev_GuiInspector($this->frame_descricao); This question should be in the list php-gtk-general? 2006/2/2, Christian Weiske <cweiske@cweiske.de>: > > Eduardo, > > > > I'm using glade2 to make the interface with an GtkFrame. But if I try to > > change the label, the GtkFrame then looses the label. This is the code: > I assume that Glade adds some special alignments or so as label widget > to the gtkframe, and adds the label itself as child of the alignment. > That would cause GtkFrame's internal set_label method to fail. > > You can check this by using the Dev_GuiInspector tool to examine the > nesting of the frame. Or try to get the frame's label widget and see > what type it is. > > -- > Regards/MfG, > Christian Weiske > > > -- []'s Eduardo RBS http://linuxstok.sourceforge.net

« previous php.gtk.dev (#2319) next »