gtk_numericalEntryWidgetgtk_numericalEntryWidget — Defines a widget to enter numerical values without any boundary or precision constrains. |
Synopsis
VisuUiNumericalEntry; VisuUiNumericalEntryClass;double visu_ui_numerical_entry_getValue (VisuUiNumericalEntry *numericalEntry);GtkWidget * visu_ui_numerical_entry_new ();double valuevoid visu_ui_numerical_entry_setValue (VisuUiNumericalEntry *numericalEntry,);double value
Object Hierarchy
GObject +----GInitiallyUnowned +----GtkWidget +----GtkEntry +----VisuUiNumericalEntry
Implemented Interfaces
VisuUiNumericalEntry implements
Description
This widget is based on the
Details
VisuUiNumericalEntry
typedef struct _VisuUiNumericalEntry VisuUiNumericalEntry;
Short form for a VisuUiNumericalEntry_struct structure.
VisuUiNumericalEntryClass
typedef struct _VisuUiNumericalEntryClass VisuUiNumericalEntryClass;
Opaque structure.
visu_ui_numerical_entry_getValue ()
double visu_ui_numerical_entry_getValue (VisuUiNumericalEntry *numericalEntry);
You can get the value contained in the given numericalEntry using this method.
|
a VisuUiNumericalEntry widget. |
Returns : |
the double precision value printed in the VisuUiNumericalEntry. |
visu_ui_numerical_entry_new ()
GtkWidget * visu_ui_numerical_entry_new ();double value
A VisuUiNumericalEntry widget is like a
|
the initial value. |
Returns : |
a newly created VisuUiNumericalEntry widget. |
visu_ui_numerical_entry_setValue ()
void visu_ui_numerical_entry_setValue (VisuUiNumericalEntry *numericalEntry,);double value
Use this method to set the value for the given
|
a VisuUiNumericalEntry widget ; |
|
a double precision value. |
Signal Details
The "value-changed" signal
void user_function (VisuUiNumericalEntry *entry,gdouble oldValue,gpointer user_data) :Action
This signal is emitted when a new valid numerical value is entered.
|
the VisuUiNumericalEntry that emits the signal ; |
|
the previous value. |
|
user data set when the signal handler was connected. |
Since 3.1
