Re: [gtk-list] hex spin button




On Wed, 25 Nov 1998 14:09:42 -0800 (PST)
	wroberts1@home.com(Wayne roberts)  said:
Wayne> I need a spin button that displays as hex.
Wayne> I need it for BROWSING MEMORY, it is an ADDRESS button.
Wayne> hex mode is set with gtk_spin_button_show_as_hex()
Wayne> In gtk_wpin_button_update it will not parse entry as hex unless first to
Wayne> chars are 0x.
Wayne> I tried to follow the numeric & wrap parameters as examples for this patch:

I wonder why spin button widget display only integer and float.

I made gtk_numeric (subclass of gtk_label), it is more flexible
than gtk_spin_button' way. It use g_string_sprintf setting
display format.

  http://www.globe.to/~moka/gtk/gtknumeric.tar.gz

--
Mitsuru Oka
95i44@is.kochi-u.ac.jp



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