Re: GtkFrame y-alignment
| From: | Mark Leavy | Date: | Thu, 05 Jul 2001 15:15:00 +0000 |
| Subject: | Re: GtkFrame y-alignment | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2050@lists.php.net to get a copy of this message | ||
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
>