Signal widget properties

FIXME : Image map
These are the signal widget properties of Gwf. These can be used to define the signals which can be emmited by the widget. A GtkToggleButton for example can emit the "toggled" signal.
Click on one of the parameter entries to go to the description of that option.

Signals list

This list shows all signals defined in the current project.

Top of the page

Return value

This sets the return value of the signal. 99% of the cases it's "void" or "gboolean"/"gint". However there are other possibilities. For example the return value of the toggled signal of GtkToggleButton (void toggled (GtkToggleButton *toggle_button)) is void.

Top of the page

Signal name

This sets the name of the signal. For example the name of the toggled signal of GtkToggleButton (void toggled (GtkToggleButton *toggle_button)) is toggled.

Top of the page

Return type

This is the corresponding type for the return value. The program needs this value (which is a GtkType) to create the signal marshaller.
If this is set to GTK_TYPE_INVALID, the program tries to guess it from the text entered in the return value. Most normal Gtk-types (void,gint,gboolean,etc) are recognised. It may however be neccesairy to set it manually. This feature can be shut-off at compile time.
Leaving it set to GTK_TYPE_UNKNOWN will generate an error when trying to write the source code.

Top of the page

Add [signal] (button)

This button adds a new signal to the widget. If a signal with the same name already exists, nothing happens, as the name of a signal should be unique.

Top of the page

Update [signal] (button)

This button updates the properties of the currently selected signal.

Top of the page

Delete [signal] (button)

This button deletes the currently selected signal.

Top of the page

Clear [signal] (button)

This button clear the signal entry fields.

Top of the page

Parameters list

This list shows all the parameters of the currently selected signal. Each signal can have 0 or more additional parameters (besides the first parameter which is a pointer to the widget itself).

Top of the page

Parameter type

This sets the type of a parameter. The toggled signal of GtkToggleButton could have a paramter "gint active" for example (it doesn't actually). The type of this parameter would be "gint"

Top of the page

Parameter name

This sets the name of a parameter. The toggled signal of GtkToggleButton could have a paramter "gint active" for example (it doesn't actually). The name of this parameter would be "active"

Top of the page

Gtk type

This sets the associated GtkType of the type of the parameter. Again, automatic type guessing is preformed as described
above.

Top of the page

Add [parameter] (button)

This button adds a new paramter to the currently selected signal. If a paramter with the same name already exists, nothing happens.

Top of the page

Update [parameter] (button)

This button updates the properties of the currently selected paramter.

Top of the page

Delete [parameter] (button)

This button deletes the currently selected parameter.

Top of the page

Clear [parameter] (button)

This button clears the parameter entry fields.

Top of the page