Re: gtktablechild && left_attach
| From: | Steph | Date: | Thu, 16 May 2002 15:46:42 +0000 |
| Subject: | Re: gtktablechild && left_attach | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2003@lists.php.net to get a copy of this message | ||
Simon, I just tested it here and top_attach values are retrieved just fine for me. Test script
attached, can you confirm whether it does/not work for you pliz?
----- Original Message -----
From: "firepages.com.au" <fire@firepages.com.au>
To: <php-gtk-general@lists.php.net>
Sent: Thursday, May 16, 2002 3:31 PM
Subject: [PHP-GTK] gtktablechild && left_attach
> Hi, I have just made a daft game - those ones where an image is all jumbled
> up and you move the tiles one at a time to make the image.....
>
> I ended up using GtkLayout although I tried firstly to use a GtkTable
> ...but....
>
> $children = $table->children;
> $widget = $child->widget;
> $tops=$child->top_attatch; // this does not work - nor
> left/right/bottom_attach
>
> I assumed I was accessing this incorrectly but
> $xpad=$child->xpadding;
> $ypad=$child->ypadding;
>
> do work, as do the other methods - just not the $_attatch methods.
> Do I need to access these in a different manner or are they broken?
>
> I tried construction the table with and without the colums and rows -
> whichever the table still owrked fine just could not get the above methods
> to work.
>
> Regards,
> Simon Wheeler
> firepages.
>
>
>
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>