Gladeui.Widget¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
The class adaptor for the associated widget |
||
r/w/co |
Whether this composite child is an ancestral child or an anarchist child |
||
r/w |
Whether this widget is the template for a composite widget |
||
r/w/c |
The internal name of the widget |
||
w/co |
A generic name prefix for internal widgets |
||
r/w/c |
The name of the widget |
||
r/w/c |
The object associated |
||
r/w/c |
A pointer to the parenting |
||
r/w/c |
The glade project that this widget belongs to |
||
r/w/co |
A list of GladeProperties |
||
r/w/co |
A |
||
r |
A warning string about version mismatches |
||
w/co |
A |
||
w/co |
Whether we are creating an exact duplicate when using a template |
||
r/w |
The height of the widget when toplevel in the GladeDesignLayout |
||
r/w |
The width of the widget when toplevel in the GladeDesignLayout |
||
r |
Whether the widget is visible or not |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Emitted when property and signal support metadatas and messages have been updated. |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gladeui.Widget(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod get_device_from_event(event)¶
- Parameters:
- Returns:
the associated
Gdk.Devicefor this glade widget event.- Return type:
Currently only motion and button events are handled (see GLADE_WIDGET_IS_EVENT)
Deprecated since version ???: use
Gdk.Event.get_device() instead.
- classmethod get_from_gobject(object)¶
- Parameters:
object (
objectorNone) – AGObject.Objectcontaining the widget- Returns:
- Return type:
- classmethod pop_superuser()¶
Unsets superuser mode
- classmethod push_superuser()¶
Sets superuser mode
- classmethod read(project, parent, node, internal)¶
- Parameters:
project (
Gladeui.Project) – aGladeui.Projectparent (
Gladeui.WidgetorNone) – The parentGladeui.WidgetorNonenode (
Gladeui.XmlNode) – aGladeui.XmlNode
- Returns:
a new
Gladeui.Widgetfor project, based on node- Return type:
Creates a new
Gladeui.Widgetfrom a XML node.If node is a template and its parent class is abstract/non instantiatable, Glade will use a class with the GladeInstantiable prefix instead.
For example, with a
Gtk.Bintemplate Glade will GladeInstantiableGtkBin class
- classmethod superuser()¶
- Return type:
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.
- adaptor_create_internal(internal_object, internal_name, parent_name, anarchist, reason)¶
- Parameters:
internal_object (
GObject.Object) – theGObject.Objectinternal_name (
str) – a string identifier for this internal widget.parent_name (
str) – the generic name of the parent used for fancy child names.anarchist (
bool) – Whether or not this widget is a widget outside of the parent’s hierarchy (like a popup window)reason (
Gladeui.CreateReason) – TheGladeui.CreateReasonfor which this internal widget was created (usually just pass the reason from the post_create function; note also this is used only by the plugin code so pass something useful here).
- Returns:
a freshly created
Gladeui.Widgetwrapper object for the internal_object of name internal_name- Return type:
A convenience function to create a
Gladeui.Widgetof the prescribed type for internal widgets.
- add_child(child, at_mouse)¶
- Parameters:
child (
Gladeui.Widget) – theGladeui.Widgetto addat_mouse (
bool) – whether the added widget should be added at the current mouse position
Adds child to self in a generic way for this
Gladeui.Widgetparent.
- add_prop_ref(property)¶
- Parameters:
property (
Gladeui.Property) – theGladeui.Property
Adds property to self ‘s list of referenced properties.
Note: this is used to track properties on other objects that refer to this object.
- add_signal_handler(signal_handler)¶
- Parameters:
signal_handler (
Gladeui.Signal) – TheGladeui.Signal
Adds a signal handler for self
- add_verify(child, user_feedback)¶
- Parameters:
child (
Gladeui.Widget) – The childGladeui.Widgetto adduser_feedback (
bool) – whether a notification dialog should be presented in the case that the child cannot not be added.
- Returns:
whether child can be added to self.
- Return type:
Checks whether child can be added to parent.
If user_feedback is
Trueand child cannot be added then this shows a notification dialog to the user explaining why.
- change_signal_handler(old_signal_handler, new_signal_handler)¶
- Parameters:
old_signal_handler (
Gladeui.Signal) – the oldGladeui.Signalnew_signal_handler (
Gladeui.Signal) – the newGladeui.Signal
Changes a
Gladeui.Signalon self
- child_get_property(child, property_name, value)¶
- Parameters:
child (
Gladeui.Widget) – TheGladeui.Widgetchildproperty_name (
str) – The id of the propertyvalue (
GObject.Value) – The GValue
Gets child's packing property identified by property_name.
- child_set_property(child, property_name, value)¶
- Parameters:
child (
Gladeui.Widget) – TheGladeui.Widgetchildproperty_name (
str) – The id of the propertyvalue (
GObject.Value) – The GValue
Sets child's packing property identified by property_name to value.
- copy_properties(template_widget, copy_parentless, exact)¶
- Parameters:
template_widget (
Gladeui.Widget) – a ‘src’Gladeui.Widgetcopy_parentless (
bool) – whether to copy reffed widgets at allexact (
bool) – whether to copy reffed widgets exactly
Sets properties in self based on the values of matching properties in template_widget
- copy_signals(template_widget)¶
- Parameters:
template_widget (
Gladeui.Widget) – a ‘src’Gladeui.Widget
Sets signals in self based on the values of matching signals in template_widget
- create_editor_property(property, packing, use_command)¶
- Parameters:
- Returns:
A newly created and connected
Gladeui.EditorProperty- Return type:
This is a convenience function to create a
Gladeui.EditorPropertycorresponding to property
- depends(other)¶
- Parameters:
other (
Gladeui.Widget) – anotherGladeui.Widget- Returns:
Trueif self depends on other.- Return type:
Determines whether self is somehow dependent on other, in which case it should be serialized after other.
A widget is dependent on another widget. It does not take into account for children dependencies.
Deprecated since version 3.18.
- dup(exact)¶
- Parameters:
exact (
bool) – whether or not to creat an exact duplicate- Returns:
The newly created
Gladeui.Widget- Return type:
Creates a deep copy of
Gladeui.Widget. 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).
- dup_properties(template_props, as_load, copy_parentless, exact)¶
- Parameters:
template_props ([
Gladeui.Property]) – theGladeui.Propertylist to copyas_load (
bool) – whether to behave as if loading the projectcopy_parentless (
bool) – whether to copy reffed widgets at allexact (
bool) – whether to copy reffed widgets exactly
- Returns:
A newly allocated
GLib.Listof newGladeui.Propertyobjects.- Return type:
Copies a list of properties, if as_load is specified, then properties that are not saved to the glade file are ignored.
- ensure_name(project, use_command)¶
- Parameters:
project (
Gladeui.Project) –use_command (
bool) –
- event(event)¶
- Parameters:
- Returns:
whether the event was handled or not.
- Return type:
Feed an event to be handled on the project
Gladeui.Widgethierarchy.
- find_child(name)¶
- Parameters:
name (
str) – child name- Returns:
The child of widget or
Noneif it was not found.- Return type:
Finds a child widget named name.
- generate_path_name()¶
- Returns:
A newly allocated string
- Return type:
Creates a user friendly name to describe project widgets
- get_action(action_path)¶
- Parameters:
action_path (
str) – a full action path including groups- Returns:
the action or
Noneif not found.- Return type:
Returns a
Gladeui.WidgetActionobject indentified by action_path.
- get_actions()¶
- Returns:
the list of
Gladeui.WidgetAction- Return type:
- get_adaptor()¶
- Returns:
the
Gladeui.WidgetAdaptorof self- Return type:
- get_children()¶
- Returns:
The children of widget
This differs from a direct call to
Gladeui.WidgetAdaptor.get_children() as it only returns children which have an associatedGladeui.Widget. This function will not return any placeholders or internal composite children that have not been exposed for Glade configuration- Return type:
Fetches any wrapped children of self.
- get_display_name()¶
- Returns:
a pointer to self's displayable name
This should be used to display the widget’s ID in the UI, it will automatically return the class name if the widget has no name.
- Return type:
- get_is_composite()¶
- Returns:
whether self is composite.
- Return type:
Checks if self is a composite template to be used with
Gtk.WidgetClass.set_template().
- get_locker()¶
- Returns:
a
Gladeui.WidgetorNoneif none is locked- Return type:
Get the current locked widget, locked widgets cannot be removed from the project until unlocked
- get_name()¶
- Returns:
a pointer to self's name
This is what will be serialized as the widget’s ID, unless the name currently carries the
Gladeui.UNNAMED_PREFIX.- Return type:
- get_object()¶
- Returns:
the
GObject.Objectassociated with self- Return type:
- get_pack_action(action_path)¶
- Parameters:
action_path (
str) – a full action path including groups- Returns:
the action or
Noneif not found.- Return type:
Returns a
Gladeui.WidgetActionobject indentified by action_path.
- get_pack_actions()¶
- Returns:
the list of
Gladeui.WidgetAction- Return type:
- get_pack_property(id_property)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Property- Returns:
the
Gladeui.Propertyin self named id_property- Return type:
- get_packing_properties()¶
- Returns:
the list of
Gladeui.Property- Return type:
- get_parent()¶
- Returns:
The parenting
Gladeui.Widget- Return type:
- get_parentless_reffed_widgets()¶
- Returns:
a list of
Gladeui.Property- Return type:
- get_parentless_widget_ref()¶
- Returns:
- Return type:
- get_project()¶
- Returns:
the
Gladeui.Projectthat self belongs to- Return type:
- get_properties()¶
- Returns:
the list of
Gladeui.Property- Return type:
- get_property(id_property)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Property- Returns:
the
Gladeui.Propertyin self named id_property- Return type:
- get_signal_list()¶
- Returns:
a newly allocated
GLib.ListofGladeui.Signal, the caller must call g_list_free() to free the list.- Return type:
Compiles a list of
Gladeui.Signalelements
- get_signal_model()¶
- Returns:
a
Gtk.TreeModelthat can be used to view the widget’s signals. The signal model is owned by theGladeui.Widget.- Return type:
- get_toplevel()¶
- Returns:
The toplevel
Gladeui.Widgetin the hierarchy (or self)- Return type:
- has_decendant(type)¶
- Parameters:
type (
GObject.GType) – aGObject.GType- Returns:
whether this
Gladeui.Widgethas any descendants of type type or any descendants that implement the type interface- Return type:
- hide()¶
Hide self
- is_ancestor(ancestor)¶
- Parameters:
ancestor (
Gladeui.Widget) – anotherGladeui.Widget- Returns:
Trueif ancestor contains self as a child, grandchild, great grandchild, etc.- Return type:
Determines whether self is somewhere inside ancestor, possibly with intermediate containers.
- list_locked_widgets()¶
- Returns:
the list of
Gladeui.Widget- Return type:
- list_prop_refs()¶
- Returns:
a list of
Gladeui.Property- Return type:
- list_signal_handlers(signal_name)¶
- Parameters:
signal_name (
str) – the name of the signal- Returns:
A
GLib.PtrArrayofGladeui.Signalfor signal_name- Return type:
- lock(locked)¶
- Parameters:
locked (
Gladeui.Widget) – TheGladeui.Widgetto lock
Sets locked to be in a locked up state spoken for by self, locked widgets cannot be removed from the project until unlocked.
- object_get_property(property_name, value)¶
- Parameters:
property_name (
str) – The property identifiervalue (
GObject.Value) – TheGObject.Value
This function retrieves the value of the property property_name on the runtime object of self and sets it in value.
- object_set_property(property_name, value)¶
- Parameters:
property_name (
str) – The property identifiervalue (
GObject.Value) – TheGObject.Value
This function applies value to the property property_name on the runtime object of self.
- pack_property_default(id_property)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Property- Returns:
whether whether id_property was found and is currently set to it’s default value.
- Return type:
- pack_property_reset(id_property)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Property- Returns:
whether id_property was found or not.
- Return type:
Resets id_property in self's packing properties to it’s default value
- pack_property_set_enabled(id_property, enabled)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertyenabled (
bool) – setting enabled or disabled
- Returns:
whether id_property was found or not.
- Return type:
Sets the enabled state of id_property in self's packing properties; this is used for optional properties.
- pack_property_set_save_always(id_property, setting)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertysetting (
bool) – the setting
- Returns:
whether id_property was found or not.
- Return type:
Sets whether id_property in self 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).
- pack_property_set_sensitive(id_property, sensitive, reason)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertysensitive (
bool) – setting sensitive or insensitivereason (
str) – a description of why the user cant edit this property which will be used as a tooltip
- Returns:
whether id_property was found or not.
- Return type:
Sets the sensitivity of id_property in self's packing properties.
- pack_property_string(id_property, value)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertyvalue (
GObject.Value) – theGObject.Valueto print orNone
- Returns:
A newly allocated string representing id_property
- Return type:
Same as
Gladeui.Widget.property_string() but for packing properties.
- placeholder_relation(widget)¶
- Parameters:
widget (
Gladeui.Widget) – The childGladeui.Widget- Returns:
whether to use placeholders for this relationship.
- Return type:
Returns whether placeholders should be used in operations concerning this parent & child.
Currently that criteria is whether self is a
Gtk.Container, widget is aGtk.Widgetand the parent adaptor has been marked to use placeholders.
- property_default(id_property)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Property- Returns:
whether whether id_property was found and is currently set to it’s default value.
- Return type:
- property_original_default(id_property)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Property- Returns:
whether whether id_property was found and is currently set to it’s original default value.
- Return type:
- property_reset(id_property)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Property- Returns:
whether id_property was found or not.
- Return type:
Resets id_property in self to it’s default value
- property_set_enabled(id_property, enabled)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertyenabled (
bool) – setting enabled or disabled
- Returns:
whether id_property was found or not.
- Return type:
Sets the enabled state of id_property in self; this is used for optional properties.
- property_set_save_always(id_property, setting)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertysetting (
bool) – the setting
- Returns:
whether id_property was found or not.
- Return type:
Sets whether id_property in self 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).
- property_set_sensitive(id_property, sensitive, reason)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertysensitive (
bool) – setting sensitive or insensitivereason (
str) – a description of why the user cant edit this property which will be used as a tooltip
- Returns:
whether id_property was found or not.
- Return type:
Sets the sensitivity of id_property in self
- property_string(id_property, value)¶
- Parameters:
id_property (
str) – a string naming aGladeui.Propertyvalue (
GObject.Value) – theGObject.Valueto print orNone
- Returns:
A newly allocated string representing id_property
- Return type:
Creates a printable string representing id_property in self, if value is specified it will be used in place of id_property's real value (this is a convenience function to print/debug properties usually from plugin backends).
- read_child(node)¶
- Parameters:
node (
Gladeui.XmlNode) – aGladeui.XmlNode
Reads in a child widget from the xml (handles ‘child’ tag)
- rebuild()¶
Replaces the current widget instance with a new one while preserving all properties children and takes care of reparenting.
- remove_child(child)¶
- Parameters:
child (
Gladeui.Widget) – theGladeui.Widgetto add
Removes child from self in a generic way for this
Gladeui.Widgetparent.
- remove_prop_ref(property)¶
- Parameters:
property (
Gladeui.Property) – theGladeui.Property
Removes property from self ‘s list of referenced properties.
Note: this is used to track properties on other objects that refer to this object.
- remove_property(id_property)¶
- Parameters:
id_property (
str) – the name of the property
Removes the
Gladeui.Propertyindicated by id_property from self (this is intended for use in the plugin, to remove properties from composite children that don’t make sense to allow the user to specify, notably - properties that are proxied through the composite widget’s properties or style properties).
- remove_signal_handler(signal_handler)¶
- Parameters:
signal_handler (
Gladeui.Signal) – TheGladeui.Signal
Removes a signal handler from self
- replace(old_object, new_object)¶
- Parameters:
old_object (
GObject.Object) – aGObject.Objectnew_object (
GObject.Object) – aGObject.Object
Replaces a
GObject.Objectwith anotherGObject.Objectinside aGladeui.Widgetwhich behaves as a container.Note that both GObjects must be owned by a
Gladeui.Widget.
- set_action_sensitive(action_path, sensitive)¶
- Parameters:
- Returns:
whether action_path was found or not.
- Return type:
Sets the sensitivity of action_path in self
- set_action_visible(action_path, visible)¶
- Parameters:
- Returns:
whether action_path was found or not.
- Return type:
Sets the visibility of action_path in self
- set_child_type_from_node(child, node)¶
- Parameters:
child (
GObject.Object) –node (
Gladeui.XmlNode) –
- set_internal(internal)¶
- Parameters:
internal (
str) – The internal name
Sets the internal name of self to internal
- set_is_composite(composite)¶
- Parameters:
composite (
bool) – whether self should be a composite template
Set’s this widget to be toplevel composite object to be eventually used with
Gtk.WidgetClass.set_template()Only one widget in a project should be composite.
- set_pack_action_sensitive(action_path, sensitive)¶
- Parameters:
- Returns:
whether action_path was found or not.
- Return type:
Sets the sensitivity of action_path in self
- set_pack_action_visible(action_path, visible)¶
- Parameters:
- Returns:
whether action_path was found or not.
- Return type:
Sets the visibility of action_path in self
- set_packing_properties(container)¶
- Parameters:
container (
Gladeui.Widget) – The parentGladeui.Widget
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.
- set_parent(parent)¶
- Parameters:
parent (
Gladeui.WidgetorNone) – the parentingGladeui.Widget(orNone)
sets the parenting
Gladeui.Widget
- set_project(project)¶
- Parameters:
project (
Gladeui.Project) – aGladeui.Project
Makes self belong to project.
- show()¶
xlib.Displayself in it’s project’sGladeui.DesignView
- support_changed()¶
Notifies that support metadata has changed on the widget.
- unlock()¶
Unlocks self so that it can be removed from the project again
- verify()¶
Verify this widget for deprecation and versioning warnings.
This function will update the widget’s support warning.
- write(context, node)¶
- Parameters:
context (
Gladeui.XmlContext) – AGladeui.XmlContextnode (
Gladeui.XmlNode) – AGladeui.XmlNode
Recursively writes out self and its children and appends the created
Gladeui.XmlNodeto node.
- write_child(child, context, node)¶
- Parameters:
child (
Gladeui.Widget) – The childGladeui.Widgetto writecontext (
Gladeui.XmlContext) – AGladeui.XmlContextnode (
Gladeui.XmlNode) – AGladeui.XmlNode
Writes out a widget to the xml, takes care of packing properties and special child types.
- write_placeholder(object, context, node)¶
- Parameters:
object (
GObject.Object) – AGladeui.Placeholdercontext (
Gladeui.XmlContext) – AGladeui.XmlContextnode (
Gladeui.XmlNode) – AGladeui.XmlNode
Writes out a placeholder to the xml
- write_signals(context, node)¶
- Parameters:
context (
Gladeui.XmlContext) –node (
Gladeui.XmlNode) –
- write_special_child_prop(object, context, node)¶
- Parameters:
object (
GObject.Object) –context (
Gladeui.XmlContext) –node (
Gladeui.XmlNode) –
- do_add_child(child, at_mouse) virtual¶
- Parameters:
child (
Gladeui.Widget) – theGladeui.Widgetto addat_mouse (
bool) – whether the added widget should be added at the current mouse position
Adds child to parent in a generic way for this
Gladeui.Widgetparent.
- do_add_signal_handler(signal_handler) virtual¶
- Parameters:
signal_handler (
Gladeui.Signal) – TheGladeui.Signal
Adds a signal handler for widget
- do_change_signal_handler(new_signal_handler) virtual¶
- Parameters:
new_signal_handler (
Gladeui.Signal) –
- do_event(event) virtual¶
- Parameters:
- Returns:
whether the event was handled or not.
- Return type:
Feed an event to be handled on the project
Gladeui.Widgethierarchy.
- do_remove_child(child) virtual¶
- Parameters:
child (
Gladeui.Widget) – theGladeui.Widgetto add
Removes child from parent in a generic way for this
Gladeui.Widgetparent.
- do_remove_signal_handler(signal_handler) virtual¶
- Parameters:
signal_handler (
Gladeui.Signal) – TheGladeui.Signal
Removes a signal handler from widget
- do_replace_child(old_object, new_object) virtual¶
- Parameters:
old_object (
GObject.Object) –new_object (
GObject.Object) –
Signal Details¶
- Gladeui.Widget.signals.add_signal_handler(widget, arg1)¶
- Signal Name:
add-signal-handler- Flags:
- Parameters:
widget (
Gladeui.Widget) – The object which received the signalarg1 (
Gladeui.Signal) – theGladeui.Signalthat was added to gladewidget.
- Gladeui.Widget.signals.button_press_event(widget, arg1)¶
- Signal Name:
button-press-event- Flags:
- Parameters:
widget (
Gladeui.Widget) – The object which received the signal
- Return type:
- Gladeui.Widget.signals.button_release_event(widget, arg1)¶
- Signal Name:
button-release-event- Flags:
- Parameters:
widget (
Gladeui.Widget) – The object which received the signal
- Return type:
- Gladeui.Widget.signals.change_signal_handler(widget, arg1)¶
- Signal Name:
change-signal-handler- Flags:
- Parameters:
widget (
Gladeui.Widget) – The object which received the signalarg1 (
Gladeui.Signal) – theGladeui.Signalthat changed
- Gladeui.Widget.signals.motion_notify_event(widget, arg1)¶
- Signal Name:
motion-notify-event- Flags:
- Parameters:
widget (
Gladeui.Widget) – The object which received the signal
- Return type:
- Gladeui.Widget.signals.remove_signal_handler(widget, arg1)¶
- Signal Name:
remove-signal-handler- Flags:
- Parameters:
widget (
Gladeui.Widget) – The object which received the signalarg1 (
Gladeui.Signal) – theGladeui.Signalthat was removed from gladewidget.
- Gladeui.Widget.signals.support_changed(widget)¶
- Signal Name:
support-changed- Flags:
- Parameters:
widget (
Gladeui.Widget) – The object which received the signal
Emitted when property and signal support metadatas and messages have been updated.
Property Details¶
- Gladeui.Widget.props.adaptor¶
- Name:
adaptor- Type:
- Default Value:
- Flags:
The class adaptor for the associated widget
- Gladeui.Widget.props.anarchist¶
- Name:
anarchist- Type:
- Default Value:
- Flags:
Whether this composite child is an ancestral child or an anarchist child
- Gladeui.Widget.props.composite¶
-
Whether this widget is the template for a composite widget
- Gladeui.Widget.props.internal¶
-
The internal name of the widget
- Gladeui.Widget.props.internal_name¶
- Name:
internal-name- Type:
- Default Value:
- Flags:
A generic name prefix for internal widgets
- Gladeui.Widget.props.name¶
-
The name of the widget
- Gladeui.Widget.props.object¶
- Name:
object- Type:
- Default Value:
- Flags:
The object associated
- Gladeui.Widget.props.parent¶
- Name:
parent- Type:
- Default Value:
- Flags:
A pointer to the parenting
Gladeui.Widget
- Gladeui.Widget.props.project¶
- Name:
project- Type:
- Default Value:
- Flags:
The glade project that this widget belongs to
- Gladeui.Widget.props.properties¶
- Name:
properties- Type:
- Default Value:
- Flags:
A list of GladeProperties
- Gladeui.Widget.props.reason¶
- Name:
reason- Type:
- Default Value:
0- Flags:
A
Gladeui.CreateReasonfor this creation
- Gladeui.Widget.props.support_warning¶
-
A warning string about version mismatches
- Gladeui.Widget.props.template¶
- Name:
template- Type:
- Default Value:
- Flags:
A
Gladeui.Widgettemplate to base a new widget on
- Gladeui.Widget.props.template_exact¶
- Name:
template-exact- Type:
- Default Value:
- Flags:
Whether we are creating an exact duplicate when using a template
- Gladeui.Widget.props.toplevel_height¶
-
The height of the widget when toplevel in the GladeDesignLayout
- Gladeui.Widget.props.toplevel_width¶
-
The width of the widget when toplevel in the GladeDesignLayout