Re: [gtk-list] hex spin button
- From: Mitsuru Oka <95i44 is kochi-u ac jp>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] hex spin button
- Date: Thu, 26 Nov 1998 18:41:40 +0900
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]