get_preferred_width


Description:

protected virtual int get_preferred_width ()

Gets the preferred width of the widget.

This is used by the parent Container to help layout the widget.