It would be nice if there was a recursive version of gtk_widget_modify_font(), but as far as I know there isn't. Perhaps we should write a function to do that.
Thanks! I added a recursive sp_set_font_size() to widgets/swp-utilities.cpp, works fine for the menu and all spinbuttons.
But I did not find any way to "undo" a GtkEditable. Does this mean I must implement this myself, by remembering the old text every time I enter a spinbutton and restoring
it
when leaving by Esc?
Yes.
You may find that g_object_get_data() and g_object_set_data() will save your sanity here.
OK, will do.
_________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...
On Tue, 2004-01-06 at 04:26, bulia byak wrote:
It would be nice if there was a recursive version of gtk_widget_modify_font(), but as far as I know there isn't. Perhaps we should write a function to do that.
Thanks! I added a recursive sp_set_font_size() to widgets/swp-utilities.cpp, works fine for the menu and all spinbuttons.
Actually, if you haven't already done so, maybe you can just call it on the box widget for that part of the toolbar once you've added the widgets?
-mental
participants (2)
-
bulia byak
-
MenTaLguY