Re: GTK 3 support status

On 2011-12-06, at 8:12 PM, Andrew Cowie <andrew operationaldynamics com> wrote:

On Tue, 2011-12-06 at 17:47 +0900, Tristan Van Berkom wrote:

gtk_widget_set_size_request() should still succeed with the expected behaviour
of setting the minimum size of a widget,

So, does it do so for GtkLabel? ie, is it acceptable to call it?

[this thread has become a bit confusing]

Yes, gtk_widget_set_size_request() will
set the minimum size for a label, as it
will for any widget.

Don't confuse that with limiting a widget's size,
a label will request a minimum size based on
it's content and configuration, it may require more
width than the explicit minimum size set by the

A widget's size can only be limited by limiting
what content will be displayed inside it (for label
widgets this is done using width-chars/max-width-chars
in conjunction with ellipsizing/wrapping).



gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]