Re: Bug? in OptionMenu, when changing text of selected label



Thanks, that does the trick.

     > This works for me:

     > void change( GtkWidget *widget,
     > gpointer   data )
     > {
     > GtkRequisition child_requisition;

....
     > /* GTK+ bug workaround - get the label to recalculate its layout. */
     > gtk_widget_size_request (label, &child_requisition);

...	
     > }

Bill

-- 
Dr. William D. McGrory    AeroSoft, Inc.
mcgrory@aerosft.com       Suite 1275
(540) 557-1904            1872 Pratt Drive
(540) 557-1919 (FAX)      Blacksburg, VA 24060




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