Re: Bug? in OptionMenu, when changing text of selected label
- From: Bill McGrory <mcgrory aerosft com>
- To: damon helixcode com
- Cc: gtk-list gnome org
- Subject: Re: Bug? in OptionMenu, when changing text of selected label
- Date: Mon, 15 May 2000 07:14:21 -0400 (EDT)
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]