GObject.Object
Gladeui.Widget
Import line: | Gladeui = imports.gi.Gladeui; |
GIR File: | Gladeui-1.0.gir |
C documentation: | GladeuiWidget |
Class : | Widget |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
actions : Array
read only
|
Gladeui.Widget | |
adaptor : Gladeui.GObjectAdaptor
|
Gladeui.Widget | |
adaptor : Gladeui.WidgetAdaptor
read only
|
Gladeui.Widget | |
anarchist : Boolean
|
Gladeui.Widget | |
anarchist : Boolean
read only
|
Gladeui.Widget | |
construct_exact : Boolean
read only
|
Gladeui.Widget | |
construct_internal : String
read only
|
Gladeui.Widget | |
construct_reason : Gladeui.CreateReason
read only
|
Gladeui.Widget | |
construct_template : Gladeui.Widget
read only
|
Gladeui.Widget | |
height : Number
read only
|
Gladeui.Widget | |
internal : String
|
Gladeui.Widget | |
internal : String
read only
|
Gladeui.Widget | |
internal_name : String
|
Gladeui.Widget | |
lock : Gladeui.Widget
read only
|
Gladeui.Widget | |
locked_widgets : Array
read only
|
Gladeui.Widget | |
name : String
|
Gladeui.Widget | |
name : String
read only
|
Gladeui.Widget | |
object : GObject.Object
|
Gladeui.Widget | |
object : GObject.Object
read only
|
Gladeui.Widget | |
pack_props_hash : Object
read only
|
Gladeui.Widget | |
packing_actions : Array
read only
|
Gladeui.Widget | |
packing_properties : Array
read only
|
Gladeui.Widget | |
parent : Gladeui.Widget
|
Gladeui.Widget | |
parent : Gladeui.Widget
read only
|
Gladeui.Widget | |
parent_instance : GObject.Object
read only
|
Gladeui.Widget | |
project : Gladeui.Project
|
Gladeui.Widget | |
project : Gladeui.Project
read only
|
Gladeui.Widget | |
prop_refs : Array
read only
|
Gladeui.Widget | |
properties : void*
|
Gladeui.Widget | |
properties : Array
read only
|
Gladeui.Widget | |
props_hash : Object
read only
|
Gladeui.Widget | |
reason : Number
|
Gladeui.Widget | |
signals : Object
read only
|
Gladeui.Widget | |
support_warning : String
read only
|
Gladeui.Widget | |
support_warning : String
read only
|
Gladeui.Widget | |
template : Gladeui.Widget
|
Gladeui.Widget | |
template_exact : Boolean
|
Gladeui.Widget | |
toplevel_height : Number
|
Gladeui.Widget | |
toplevel_width : Number
|
Gladeui.Widget | |
visible : Boolean
read only
|
Gladeui.Widget | |
width : Number
read only
|
Gladeui.Widget |
Method / Constructor | Defined By | |
---|---|---|
new Gladeui.Widget
(Object properties)
Create a new Gladeui.Widget
Create a new Gladeui.Widget
|
||
|
Gladeui.Widget | |
Gladeui.Widget.pop_superuser
()
:
none
Unsets superuser mode
Unsets superuser mode
|
Gladeui.Widget | |
Gladeui.Widget.push_superuser
()
:
none
Sets superuser mode
Sets superuser mode
|
Gladeui.Widget | |
Gladeui.Widget.read
(Project project, Widget parent, XmlNode node, String internal)
:
Gladeui.Widget
|
Gladeui.Widget | |
Gladeui.Widget.superuser
()
:
Boolean
Checks if we are in superuser mode.
Checks if we are in superuser mode. Superuser mode is when we are - Loading a project - Dupping a widget recursively - Rebuilding an instance for a construct-only property In these cases, we must act like a load, this should be checked from the plugin when implementing containers, when undo/redo comes around, the plugin is responsable for maintaining the same container size when widgets are added/removed.
|
Gladeui.Widget | |
adaptor_create_internal
(Object internal_object, String internal_name, String parent_name, Boolean anarchist, CreateReason reason)
:
Gladeui.Widget
A convenienve function to create a GladeWidget of the prescribed type for internal widgets.
A convenienve function to create a GladeWidget of the prescribed type for internal widgets.
|
Gladeui.Widget | |
Adds child to parent in a generic way for this GladeWidget parent.
Adds child to parent in a generic way for this GladeWidget parent.
|
Gladeui.Widget | |
add_signal_handler
(Signal signal_handler)
:
none
Adds a signal handler for widget
Adds a signal handler for widget
|
Gladeui.Widget | |
Changes a GladeSignal on widget
Changes a GladeSignal on widget
|
Gladeui.Widget | |
Gets child's packing property identified by property_name.
Gets child's packing property identified by property_name.
|
Gladeui.Widget | |
Sets child's packing property identified by property_name to value.
Sets child's packing property identified by property_name to value.
|
Gladeui.Widget | |
Sets properties in widget based on the values of matching properties in template_widget
Sets properties in widget based on the values of matching properties in template_widget
|
Gladeui.Widget | |
copy_signals
(Widget template_widget)
:
none
Sets signals in widget based on the values of matching signals in template_widget
Sets signals in widget based on the values of matching signals in template_widget
|
Gladeui.Widget | |
create_editor_property
(String property, Boolean packing, Boolean use_command)
:
Gladeui.EditorProperty
This is a convenience function to create a GladeEditorProperty corresponding to property
This is a convenience function to create a GladeEditorProperty corresponding to property
|
Gladeui.Widget | |
dup
(Boolean exact)
:
Gladeui.Widget
Creates a deep copy of GladeWidget.
Creates a deep copy of GladeWidget. if exact is specified, the widget name is preserved and signals are carried over (this is used to maintain names & signals in Cut/Paste context as opposed to Copy/Paste contexts).
|
Gladeui.Widget | |
dup_properties
(Array template_props, Boolean as_load, Boolean copy_parentless, Boolean exact)
:
Array
Copies a list of properties, if as_load is specified, then properties that are not saved to the glade file are ignored.
Copies a list of properties, if as_load is specified, then properties that are not saved to the glade file are ignored.
|
Gladeui.Widget | |
Gladeui.Widget | ||
generate_path_name
()
:
String
Creates a user friendly name to describe project widgets
Creates a user friendly name to describe project widgets
|
Gladeui.Widget | |
get_action
(String action_path)
:
Gladeui.WidgetAction
Returns a GladeWidgetAction object indentified by action_path.
Returns a GladeWidgetAction object indentified by action_path.
|
Gladeui.Widget | |
get_adaptor
()
:
Gladeui.WidgetAdaptor
|
Gladeui.Widget | |
get_children
()
:
Array
Fetches any wrapped children of widget.
Fetches any wrapped children of widget.
|
Gladeui.Widget | |
get_internal
()
:
String
|
Gladeui.Widget | |
get_name
()
:
String
|
Gladeui.Widget | |
get_object
()
:
GObject.Object
|
Gladeui.Widget | |
get_pack_action
(String action_path)
:
Gladeui.WidgetAction
Returns a GladeWidgetAction object indentified by action_path.
Returns a GladeWidgetAction object indentified by action_path.
|
Gladeui.Widget | |
get_pack_property
(String id_property)
:
Gladeui.Property
|
Gladeui.Widget | |
get_parent
()
:
Gladeui.Widget
|
Gladeui.Widget | |
get_parentless_reffed_widgets
()
:
Array
|
Gladeui.Widget | |
get_project
()
:
Gladeui.Project
|
Gladeui.Widget | |
get_property
(String id_property)
:
Gladeui.Property
|
Gladeui.Widget | |
get_signal_list
()
:
Array
Compiles a list of GladeSignal elements must call g_list_free() to free the list.
Compiles a list of GladeSignal elements must call g_list_free() to free the list.
|
Gladeui.Widget | |
get_toplevel
()
:
Gladeui.Widget
|
Gladeui.Widget | |
Gladeui.Widget | ||
hide
()
:
none
Hide widget
Hide widget
|
Gladeui.Widget | |
list_signal_handlers
(String signal_name)
:
GLib.PtrArray
|
Gladeui.Widget | |
lock
(Widget locked)
:
none
Sets locked to be in a locked up state spoken for by widget, locked widgets cannot be removed from the project until unlocked.
Sets locked to be in a locked up state spoken for by widget, locked widgets cannot be removed from the project until unlocked.
|
Gladeui.Widget | |
This function retrieves the value of the property property_name on the runtime object of widget and sets it in value.
This function retrieves the value of the property property_name on the runtime object of widget and sets it in value.
|
Gladeui.Widget | |
This function applies value to the property property_name on the runtime object of widget.
This function applies value to the property property_name on the runtime object of widget.
|
Gladeui.Widget | |
Gladeui.Widget | ||
Gladeui.Widget | ||
Sets the enabled state of id_property in widget's packing properties; this is used for optional properties.
|
Gladeui.Widget | |
Sets whether id_property in widget should be special cased to always be saved regardless of its default value.
Sets whether id_property in widget should be special cased to always be saved regardless of its default value. (used for some special cases like properties that are assigned initial values in composite widgets or derived widget code).
|
Gladeui.Widget | |
Sets the sensitivity of id_property in widget's packing properties.
|
Gladeui.Widget | |
Same as glade_widget_property_string() but for packing properties.
Same as glade_widget_property_string() but for packing properties.
|
Gladeui.Widget | |
Returns whether placeholders should be used in operations concerning this parent & child.
Returns whether placeholders should be used in operations concerning this parent & child. Currently that criteria is whether parent is a GtkContainer, widget is a GtkWidget and the parent adaptor has been marked to use placeholders.
|
Gladeui.Widget | |
Gladeui.Widget | ||
Gladeui.Widget | ||
Gladeui.Widget | ||
Gladeui.Widget | ||
Sets whether id_property in widget should be special cased to always be saved regardless of its default value.
Sets whether id_property in widget should be special cased to always be saved regardless of its default value. (used for some special cases like properties that are assigned initial values in composite widgets or derived widget code).
|
Gladeui.Widget | |
Gladeui.Widget | ||
Creates a printable string representing id_property in of id_property's real value (this is a convinience function to print/debug properties usually from plugin backends).
Creates a printable string representing id_property in of id_property's real value (this is a convinience function to print/debug properties usually from plugin backends).
|
Gladeui.Widget | |
read_child
(XmlNode node)
:
none
Reads in a child widget from the xml (handles 'child' tag)
Reads in a child widget from the xml (handles 'child' tag)
|
Gladeui.Widget | |
rebuild
()
:
none
Replaces the current widget instance with a new one while preserving all properties children and takes care of reparenting.
Replaces the current widget instance with a new one while preserving all properties children and takes care of reparenting.
|
Gladeui.Widget | |
remove_action
(String action_path)
:
none
Remove an action.
Remove an action.
|
Gladeui.Widget | |
remove_child
(Widget child)
:
none
Removes child from parent in a generic way for this GladeWidget parent.
Removes child from parent in a generic way for this GladeWidget parent.
|
Gladeui.Widget | |
remove_pack_action
(String action_path)
:
none
Remove a packing action.
Remove a packing action.
|
Gladeui.Widget | |
remove_property
(String id_property)
:
none
Removes the GladeProperty indicated by id_property from widget (this is intended for use in the plugin, to remove properties from composite children that dont make sence to allow the user to specify, notably - properties that are proxied through the composite widget's properties or style properties).
Removes the GladeProperty indicated by id_property from widget (this is intended for use in the plugin, to remove properties from composite children that dont make sence to allow the user to specify, notably - properties that are proxied through the composite widget's properties or style properties).
|
Gladeui.Widget | |
remove_signal_handler
(Signal signal_handler)
:
none
Removes a signal handler from widget
Removes a signal handler from widget
|
Gladeui.Widget | |
Replaces a GObject with another GObject inside a GObject which behaves as a container.
Replaces a GObject with another GObject inside a GObject which behaves as a container. Note that both GObjects must be owned by a GladeWidget.
|
Gladeui.Widget | |
Gladeui.Widget | ||
|
Gladeui.Widget | |
set_internal
(String internal)
:
none
Sets the internal name of widget to internal
Sets the internal name of widget to internal
|
Gladeui.Widget | |
set_name
(String name)
:
none
Sets widget's name to name.
Sets widget's name to name.
|
Gladeui.Widget | |
set_object
(Object new_object)
:
none
Set the runtime object for this GladeWidget wrapper (this is used deep in the core and is probably unsafe to use elsewhere).
Set the runtime object for this GladeWidget wrapper (this is used deep in the core and is probably unsafe to use elsewhere).
|
Gladeui.Widget | |
Gladeui.Widget | ||
set_packing_properties
(Widget container)
:
none
Generates the packing_properties list of the widget, given the class of the container we are adding the widget to.
Generates the packing_properties list of the widget, given the class of the container we are adding the widget to. If the widget already has packing_properties, but the container has changed, the current list is freed and replaced.
|
Gladeui.Widget | |
set_parent
(Widget parent)
:
none
sets the parenting GladeWidget
sets the parenting GladeWidget
|
Gladeui.Widget | |
set_project
(Project project)
:
none
Makes widget belong to project.
Makes widget belong to project.
|
Gladeui.Widget | |
set_support_warning
(String warning)
:
none
|
Gladeui.Widget | |
show
()
:
none
Display widget in it's project's GladeDesignView
Display widget in it's project's GladeDesignView
|
Gladeui.Widget | |
support_changed
()
:
none
Notifies that support metadata has changed on the widget.
Notifies that support metadata has changed on the widget.
|
Gladeui.Widget | |
unlock
()
:
none
Unlocks widget so that it can be removed from the project again
Unlocks widget so that it can be removed from the project again
|
Gladeui.Widget | |
write
(XmlContext context, XmlNode node)
:
none
Recursively writes out widget and its children and appends the created GladeXmlNode to node.
Recursively writes out widget and its children and appends the created GladeXmlNode to node.
|
Gladeui.Widget | |
Writes out a widget to the xml, takes care of packing properties and special child types.
Writes out a widget to the xml, takes care of packing properties and special child types.
|
Gladeui.Widget | |
Writes out a placeholder to the xml
Writes out a placeholder to the xml
|
Gladeui.Widget | |
write_signals
(XmlContext context, XmlNode node)
:
none
|
Gladeui.Widget | |
|
Gladeui.Widget |
Event | Defined By | |
---|---|---|
|
Gladeui.Widget | |
|
Gladeui.Widget | |
|
Gladeui.Widget | |
|
Gladeui.Widget | |
|
Gladeui.Widget | |
|
Gladeui.Widget | |
support_changed (Widget self)
:
none
|
Gladeui.Widget |
Class / Namespace | Method / Signal / Properties |
---|---|
Gladeui
Method |
Gladeui.util_check_and_warn_scrollable
(Widget parent, WidgetAdaptor child_adaptor, Widget parent_widget)
:
Boolean
|
Gladeui
Method |
|
Gladeui
Method |
Looks through model for the GtkTreeIter corresponding to to findme which should be freed with gtk_tree_iter_free()
|
Gladeui
Method |
Gladeui.utils_value_from_string
(Number type, String string, Project project, Widget widget)
:
GObject.Value
Allocates and sets a GValue of type type set to string (using glade conversion routines)
|
Gladeui.BaseEditor
Method |
add_editable
(Widget gchild, EditorPageType page)
:
none
Add gchild editor of type page to the base editor
|
Gladeui.BaseEditor
Method |
add_default_properties
(Widget gchild)
:
none
Add gchild name and type property to editor
|
Gladeui.Clipboard
Method |
selection_add
(Widget widget)
:
none
|
Gladeui.Clipboard
Method |
selection_remove
(Widget widget)
:
none
|
Gladeui.ClipboardView
Method |
add
(Widget widget)
:
none
Adds widget to view.
|
Gladeui.ClipboardView
Method |
remove
(Widget widget)
:
none
|
Gladeui.Command
Method |
|
Gladeui.Command
Method |
Sets locked to be in a locked up state spoken for by widget, locked widgets cannot be removed from the project until unlocked.
|
Gladeui.Command
Method |
Gladeui.Command.unlock_widget
(Widget widget)
:
none
Unlocks widget so that it can be removed from the project again
|
Gladeui.Command
Method |
Gladeui.Command.create
(WidgetAdaptor adaptor, Widget parent, Placeholder placeholder, Project project)
:
Gladeui.Widget
Creates a new widget using adaptor and put in place of the placeholder in the project
|
Gladeui.Command
Method |
Performs a paste command on all widgets in widgets to parent, possibly replacing placeholder (note toplevels dont need a parent; the active project will be used when pasting toplevel objects).
|
Gladeui.Command
Method |
Performs a drag-n-drop command, i.e.
|
Gladeui.Command
Method |
|
Gladeui.Command
Method |
|
Gladeui.Command
Method |
|
Gladeui.DesignLayout
Signal |
|
Gladeui.DesignLayout
Method |
This is called internally by a GladeWidget recieving an event, it will marshall the event to the proper GladeWidget according to its position in layout.
|
Gladeui.Editable
Method |
load
(Widget widget)
:
none
Loads widget property values into editable (the editable will watch the widgets properties until its loaded with another widget or NULL)
|
Gladeui.Editor
Property |
widget : Gladeui.Widget
|
Gladeui.Editor
Method |
This convenience function creates a new dialog window to edit widget specifically.
|
Gladeui.Editor
Method |
load_widget
(Widget widget)
:
none
Load widget into editor.
|
Gladeui.Editor
Method |
|
Gladeui.EditorProperty
Method |
Gladeui.EditorProperty.show_object_dialog
(Project project, String title, Widget parent, Number object_type, Widget exception, Widget object)
:
Boolean
|
Gladeui.EditorProperty
Method |
load_by_widget
(Widget widget)
:
none
Convenience function to load the appropriate GladeProperty into
|
Gladeui.GObjectAdaptor
Method |
Checks whether widget depends on another to be placed earlier in the glade file.
|
Gladeui.GObjectAdaptor
Method |
This function is called to update widget from node when loading xml files.
|
Gladeui.GObjectAdaptor
Method |
This function is called to write widget to node when writing xml files.
|
Gladeui.GObjectAdaptor
Method |
This function is called to update load a child widget from node when loading xml files (will recurse into glade_widget_read())
|
Gladeui.GObjectAdaptor
Method |
This function is called to write the child widget to node when writing xml files (takes care of packing and recurses into glade_widget_write())
|
Gladeui.Palette
Method |
create_root_widget
(WidgetAdaptor adaptor)
:
Gladeui.Widget
|
Gladeui.Placeholder
Method |
get_parent
()
:
Gladeui.Widget
|
Gladeui.Project
Signal |
|
Gladeui.Project
Signal |
|
Gladeui.Project
Signal |
|
Gladeui.Project
Method |
Gladeui.Project.verify_properties
(Widget widget)
:
none
Synchonizes widget with user visible information about version compatability and notifies the UI it should update.
|
Gladeui.Project
Method |
|
Gladeui.Project
Method |
Searches under ancestor in project looking for a GladeWidget named name.
|
Gladeui.Project
Method |
Sets name on widget in project, if name is not available then a new name will be used.
|
Gladeui.Project
Method |
Creates a new name for a widget that doesn't collide with any of the names already in project.
|
Gladeui.Project
Method |
Checks whether name is an appropriate name for widget.
|
Gladeui.Property
Method |
Create a new Gladeui.Property
|
Gladeui.Property
Method |
dup
(Widget widget)
:
Gladeui.Property
|
Gladeui.SignalEditor
Method |
load_widget
(Widget widget)
:
none
|
Gladeui.Widget
Property |
parent : Gladeui.Widget
|
Gladeui.Widget
Property |
template : Gladeui.Widget
|