Name
GnomeNumberEntry -- An entry line for number input.
Object Hierarchy
GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
+----GnomeNumberEntry |
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, with a history id
and title for the calculator dialog.
gnome_number_entry_gnome_entry ()
Get the GnomeEntry component of the
GnomeNumberEntry for lower-level manipulation.
gnome_number_entry_gtk_entry ()
Get the GtkEntry component of the
GnomeNumberEntry for Gtk+-level manipulation.
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.
Takes effect the next time the calculator button is pressed.
gnome_number_entry_get_number ()
Get the current number from the entry