BasicForm
Object Hierarchy:
Gdaui.BasicForm
Gdaui.BasicForm
Gdaui.BasicForm
Gtk.Box
Gtk.Box
Gtk.Box->Gdaui.BasicForm
Gtk.Container
Gtk.Container
Gtk.Container->Gtk.Box
Gtk.Widget
Gtk.Widget
Gtk.Widget->Gtk.Container
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gtk.Widget
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Atk.Implementor
Atk.Implementor
Atk.Implementor->Gdaui.BasicForm
Atk.Implementor->Gtk.Box
Atk.Implementor->Gtk.Container
Atk.Implementor->Gtk.Widget
Gtk.Buildable
Gtk.Buildable
Gtk.Buildable->Gdaui.BasicForm
Gtk.Buildable->Gtk.Box
Gtk.Buildable->Gtk.Container
Gtk.Buildable->Gtk.Widget
Gtk.Orientable
Gtk.Orientable
Gtk.Orientable->Gdaui.BasicForm
Gtk.Orientable->Gtk.Box
Description:
[ CCode ( type_id = "gdaui_basic_form_get_type ()" ) ]public class BasicForm : Box , Implementor , Buildable , Orientable
Content:
Properties:
Creation methods:
Methods:
public void add_to_size_group (SizeGroup size_group, BasicFormPart part)
Add this 's widgets specified by
part
to size_group
(the widgets can then be removed using
remove_from_size_group ).
public void entry_grab_focus (Holder ? holder)
Makes the data entry corresponding to holder
grab the
focus for the window it's in.
public void entry_set_editable (Holder ? holder, bool editable)
Sets the DataEntry
in this which corresponds to the holder
parameter editable or not.
public void entry_set_visible (Holder holder, bool show)
Shows or hides the
DataEntry in this which corresponds to the holder
data holder
public unowned Set get_data_set ()
Get a pointer to the Set object which is
modified by this
public unowned Widget get_entry_widget (Holder holder)
Get the DataEntry
in this which corresponds to the holder
place.
public unowned Widget get_label_widget (Holder holder)
Get the label in this which
corresponds to the holder
holder.
public unowned Widget get_place_holder (string placeholder_id)
Retreives a pointer to a place holder widget.
public bool has_changed ()
Tells if the form has had at least on entry changed since
this was created or set_as_reference
has been called.
public bool is_valid ()
Tells if the form can be used as-is (if all the parameters do have
some valid values)
public void remove_from_size_group (SizeGroup size_group, BasicFormPart part)
Removes this 's widgets specified by
part
from size_group
(the widgets must have been added using
add_to_size_group ).
public void reset ()
Resets all the entries in the form to their original values
public void set_as_reference ()
Tells this that the current values
in the different entries are to be considered as the original values for all the entries; the immediate consequence is that any
sub-sequent call to has_changed will return
false (of course until any entry is changed).
public void set_entries_to_default ()
For each entry in the form, sets it to a default value if it is
possible to do so.
public void set_layout_from_file (string file_name, string form_name)
Sets a form layout according an XML description contained in
file_name
, for the form identified by the form_name
name (as an XML layout file can contain the descriptions of
several forms and grids).
public void set_unknown_color (double red, double green, double blue, double alpha)
Defines the color to be used when this
displays an invalid value.
Signals:
public virtual signal void activated ()
Emitted when the use has activated any of the GdaDataEntry
widget in form
.
public virtual signal void holder_changed (Holder holder, bool is_user_action)
Emitted when a GdaHolder changed in form
public virtual signal void layout_changed ()
Emitted when the form's layout changes
public signal void populate_popup (Menu menu)
Connect this signal and modify the popup menu.
Inherited Members:
All known members inherited from class Gtk.Box
baseline_position
get_baseline_position
get_center_widget
get_homogeneous
get_spacing
homogeneous
pack_end
pack_start
query_child_packing
reorder_child
set_baseline_position
set_center_widget
set_child_packing
set_homogeneous
set_spacing
spacing
All known members inherited from class Gtk.Container
@foreach
add
add_with_properties
border_width
check_resize
child
child_get
child_get_property
child_get_valist
child_notify
child_notify_by_pspec
child_set
child_set_property
child_set_valist
child_type
class_find_child_property
class_list_child_properties
composite_name
find_child_property
forall
forall_internal
get_border_width
get_child_property
get_children
get_focus_chain
get_focus_child
get_focus_hadjustment
get_focus_vadjustment
get_path_for_child
get_resize_mode
handle_border_width
install_child_properties
install_child_property
list_child_properties
propagate_draw
remove
resize_children
resize_mode
set_border_width
set_child_property
set_focus_chain
set_focus_child
set_focus_hadjustment
set_focus_vadjustment
set_reallocate_redraws
set_resize_mode
unset_focus_chain
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Buildable
add_child
construct_child
custom_finished
custom_tag_end
custom_tag_start
get_internal_child
get_name
parser_finished
set_buildable_property
set_name
All known members inherited from interface Gtk.Orientable