Re: accessing Gtkframes Label
| From: | php-gtk user | Date: | Fri, 03 Jan 2003 16:36:48 +0000 |
| Subject: | Re: accessing Gtkframes Label | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2830@lists.php.net to get a copy of this message | ||
You mean specific to using Glade with php-gtk? I'd love to give it a
shot.
As long as I have your attention, do you have any idea how to get the
value of the item selected in a GtkOptionMenu created in Glade? I've had
success with GtkCombo, but GtkOptionMenu is far more visually pleasing.
Thanks again. Your $glade pointer is definitely going to force me to
rewrite portions of an app I'm working on (which is a good thing!).
On Fri, 2003-01-03 at 10:11, Steph wrote:
> $object = $glade->get_widget('object_name');
>
> is not quite the same thing as trying to directly access non-exposed
> GTK+ properties :)
>
> Documentation's non-existent for Glade, does anyone feel like writing
> some?
>
> ----- Original Message -----
> From: "php-gtk user" <php-gtk@ragweed.net>
> To: "firepages.com.au" <fire@firepages.com.au>
> Cc: <php-gtk-general@lists.php.net>
> Sent: Friday, January 03, 2003 2:54 PM
> Subject: Re: [PHP-GTK] accessing Gtkframes Label
>
>
> > That's actually been bugging me for a while, too. I use Glade and
> > haven't been able to figure out how to access widgets directly (as
> > objects). I understand that normally, widgets (when created manually,
> > not via Glade) are created as objects (and can be
> called|referred|edited
> > as such) but I'm not sure if the same thing occurs when using Glade.
> > Documentation is pretty spotty, it seems.
> >
> > On Fri, 2003-01-03 at 04:11, firepages.com.au wrote:
> > > Hi
> > > I just realised/tried;) that if I set a style on the frame itself
> that the
> > > label will reflect that style... still would like to know if there
> is a
> > > direct way of getting at the label widget though
> > >
> > > Cheers
> > >
> > > ----- Original Message -----
> > > From: "firepage" <firepage@firepages.org>
> > > To: <php-gtk-general@lists.php.net>
> > > Sent: Friday, January 03, 2003 6:05 PM
> > > Subject: [PHP-GTK] accessing Gtkframes Label
> > >
> > >
> > > Hi again , twice in a day !
> > >
> > > Can I get at a GtkFrame()'s Label to say change the style ?
> > >
> > > Regards,
> > > Simon Wheeler.
> > > firepages.
> >
> >
> > --
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >