Description
Provides an entry line for numbers. This routine does not attempt
to do any validation on the valid number ranges, but provides a
button that will let the user bring up a calculator to fill in the
value of the entry widget.
Details
gnome_number_entry_new ()
GtkWidget* gnome_number_entry_new (char *history_id,
char *calc_dialog_title); |
Creates a new number entry widget
gnome_number_entry_gnome_entry ()
Get the GnomeEntry widget that's part of the entry
gnome_number_entry_gtk_entry ()
Get the GtkEntry widget that's part of the entry
gnome_number_entry_set_title ()
void gnome_number_entry_set_title (GnomeNumberEntry *nentry,
char *calc_dialog_title); |
Set the title of the calculator dialog to calc_dialog_title,
this will go into effect the next time the calculator button is pressed
gnome_number_entry_get_number ()
Get the current number from the entry