GtkButtonBox::set_child_size()

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GtkButtonBox::set_child_size()

Der Starchaser
Hello at all,

the code snippet

        $bbox = &new GtkHButtonBox();
        $bbox->set_child_size(15, 20);

returns an error :

        Warning: GtkButtonBox::set_child_size() is deprecated: don't use this

The Manual suggests the following :

        GtkButtonBox::set_child_size

        void set_child_size(int min_width, int min_height);

        Warning! This method is DEPRECATED and should NOT be used in newly-written
        code. Use the style properties child-min-width/-height instead.

How do I manipulate the style properties ogf the Box ?

Thank you !

--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Re: GtkButtonBox::set_child_size()

jake.cobb (Bugzilla)
GObject::get_property(string) and GObject::set_property(string, mixed)

-Jake

On Thu, Aug 27, 2009 at 2:19 AM, Der Starchaser <[hidden email]>wrote:

> Hello at all,
>
> the code snippet
>
>        $bbox = &new GtkHButtonBox();
>        $bbox->set_child_size(15, 20);
>
> returns an error :
>
>        Warning: GtkButtonBox::set_child_size() is deprecated: don't use
> this
>
> The Manual suggests the following :
>
>        GtkButtonBox::set_child_size
>
>        void set_child_size(int min_width, int min_height);
>
>        Warning! This method is DEPRECATED and should NOT be used in
> newly-written
>        code. Use the style properties child-min-width/-height instead.
>
> How do I manipulate the style properties ogf the Box ?
>
> Thank you !
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>