Re: GtkFrame y-alignment
| From: | Steph | Date: | Thu, 05 Jul 2001 15:23:28 +0000 |
| Subject: | Re: GtkFrame y-alignment | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2051@lists.php.net to get a copy of this message | ||
Cool, that was the next port of call!
:)
thanks.
----- Original Message -----
From: "Mark Leavy" <MarkL@Linux2001.org>
To: <php-gtk@lists.php.net>
Sent: Thursday, July 05, 2001 4:15 PM
Subject: Re: [PHP-GTK] GtkFrame y-alignment
I ran it on a *nix box, the y-align param has no effect.
According to the docs at gtk.org the y-align param is ignored...? *shrug* :)
MarkL
On Thu, 5 Jul 2001 16:10:06 +0100
"Steph" <Steph.Fox@btinternet.com> wrote:
> Hi all,
>
> Could someone out there run this on a nix box & say where the title shows up, please?
> The y-align parameter makes no difference in win32. -
>
> Cheers,
> Steph
>
> <?
>
> dl('php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so'))
> ||
> die("Can't load php_gtk module!\n");
>
> $window = &new GtkWindow();
> $window->set_title("testbay window");
> $window->set_position(GTK_WIN_POS_CENTER);
> $window->set_default_size((gdk::screen_width()-10), (gdk::screen_height()-20));
> $window->connect_object('destroy', array('gtk', 'main_quit'));
>
> $frame = &new GtkFrame('Frame Name');
> $frame->set_label_align(0.0, 0.5);
>
> $window->add($frame);
> $frame->show();
>
> $window->show_all();
>
> Gtk::main();
>
> ?>
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net