GObject.Object
Gladeui.Project
Import line: | Gladeui = imports.gi.Gladeui; |
GIR File: | Gladeui-1.0.gir |
C documentation: | GladeuiProject |
Class : | Project |
Implements: | Gtk.TreeModel |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
format : Number
read only
|
Gladeui.Project | |
has_selection : Boolean
read only
|
Gladeui.Project | |
modified : Boolean
read only
|
Gladeui.Project | |
parent_instance : GObject.Object
read only
|
Gladeui.Project | |
path : String
read only
|
Gladeui.Project | |
priv : Gladeui.ProjectPrivate
read only
|
Gladeui.Project | |
read_only : Boolean
read only
|
Gladeui.Project |
Method / Constructor | Defined By | |
---|---|---|
new Gladeui.Project
(Object properties)
Create a new Gladeui.Project
Create a new Gladeui.Project
|
||
Opens a project at the given path.
Opens a project at the given path.
|
Gladeui.Project | |
|
Gladeui.Project | |
Gladeui.Project.verify_properties
(Widget widget)
:
none
Synchonizes widget with user visible information about version compatability and notifies the UI it should update.
Synchonizes widget with user visible information about version compatability and notifies the UI it should update.
|
Gladeui.Project | |
Adds an object to the project.
Adds an object to the project.
|
Gladeui.Project | |
Checks whether name is an appropriate name for widget.
Checks whether name is an appropriate name for widget.
|
Gladeui.Project | |
display_dependencies
()
:
String
|
Gladeui.Project | |
Calls func on each node in model in a depth-first fashion.
Calls func on each node in model in a depth-first fashion. If func returns TRUE, then the tree ceases to be walked, and gtk_tree_model_foreach() returns.
|
Gtk.TreeModel | |
Gtk.TreeModel | ||
get_file_mtime
()
:
Number
|
Gladeui.Project | |
get_flags
()
:
Gtk.TreeModelFlags
Returns a set of flags supported by this interface.
Returns a set of flags supported by this interface. The flags are a bitwise combination of GtkTreeModelFlags. The flags supported should not change during the lifecycle of the tree_model.
|
Gtk.TreeModel | |
get_format
()
:
Gladeui.ProjectFormat
|
Gladeui.Project | |
get_has_selection
()
:
Boolean
|
Gladeui.Project | |
get_instance_count
()
:
Number
|
Gladeui.Project | |
Sets iter to a valid iterator pointing to path.
Sets iter to a valid iterator pointing to path.
|
Gtk.TreeModel | |
Initializes iter with the first iterator in the tree (the one at the path "0") and returns TRUE.
Initializes iter with the first iterator in the tree (the one at the path "0") and returns TRUE. Returns FALSE if the tree is empty.
|
Gtk.TreeModel | |
Sets iter to a valid iterator pointing to path_string, if it exists.
Sets iter to a valid iterator pointing to path_string, if it exists. Otherwise, iter is left invalid and FALSE is returned.
|
Gtk.TreeModel | |
get_modified
()
:
Boolean
|
Gladeui.Project | |
get_n_columns
()
:
Number
Returns the number of columns supported by tree_model.
Returns the number of columns supported by tree_model.
|
Gtk.TreeModel | |
get_name
()
:
String
|
Gladeui.Project | |
get_naming_policy
()
:
Gladeui.NamingPolicy
|
Gladeui.Project | |
get_objects
()
:
Array
|
Gladeui.Project | |
get_path
()
:
String
|
Gladeui.Project | |
get_readonly
()
:
Boolean
Gets whether the project is read only or not
Gets whether the project is read only or not
|
Gladeui.Project | |
Generates a string representation of the iter.
Generates a string representation of the iter. This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string.
|
Gtk.TreeModel | |
Gladeui.Project | ||
Initializes and sets value to that at column.
Initializes and sets value to that at column. When done with value, g_value_unset() needs to be called to free any allocated memory.
|
Gtk.TreeModel | |
Searches under ancestor in project looking for a GladeWidget named name.
Searches under ancestor in project looking for a GladeWidget named name.
|
Gladeui.Project | |
|
Gladeui.Project | |
is_loading
()
:
Boolean
|
Gladeui.Project | |
|
Gladeui.Project | |
Sets iter to point to the first child of parent.
Sets iter to point to the first child of parent. If parent has no children, FALSE is returned and iter is set to be invalid. parent will remain a valid node after this function has been called. If parent is NULL returns the first node, equivalent to
|
Gtk.TreeModel | |
Returns TRUE if iter has children, FALSE otherwise.
Returns TRUE if iter has children, FALSE otherwise.
|
Gtk.TreeModel | |
Returns the number of children that iter has.
Returns the number of children that iter has. As a special case, if iter is NULL, then the number of toplevel nodes is returned.
|
Gtk.TreeModel | |
Sets iter to point to the node following it at the current level.
Sets iter to point to the node following it at the current level. If there is no next iter, FALSE is returned and iter is set to be invalid.
|
Gtk.TreeModel | |
Sets iter to be the child of parent, using the given index.
Sets iter to be the child of parent, using the given index. The first index is 0. If n is too big, or parent has no children, iter is set to an invalid iterator and FALSE is returned. parent will remain a valid node after this function has been called. As a special case, if parent is NULL, then the nth root node is set.
|
Gtk.TreeModel | |
Sets iter to be the parent of child.
Sets iter to be the parent of child. If child is at the toplevel, and doesn't have a parent, then iter is set to an invalid iterator and FALSE is returned. child will remain a valid node after this function has been called.
|
Gtk.TreeModel | |
Creates a new name for a widget that doesn't collide with any of the names already in project.
Creates a new name for a widget that doesn't collide with any of the names already in project. This name will start with base_name.
|
Gladeui.Project | |
next_redo_item
()
:
Gladeui.Command
Gets the next redo item on project's command stack.
Gets the next redo item on project's command stack.
|
Gladeui.Project | |
next_undo_item
()
:
Gladeui.Command
Gets the next undo item on project's command stack.
Gets the next undo item on project's command stack.
|
Gladeui.Project | |
preferences
()
:
none
Runs a preferences dialog for project.
Runs a preferences dialog for project.
|
Gladeui.Project | |
push_undo
(Command cmd)
:
none
Pushes a newly created GladeCommand onto projects stack.
Pushes a newly created GladeCommand onto projects stack.
|
Gladeui.Project | |
redo
()
:
none
|
Gladeui.Project | |
redo_items
()
:
Gtk.Widget
Creates a menu of the undo items in the project stack
Creates a menu of the undo items in the project stack
|
Gladeui.Project | |
ref_node
(TreeIter iter)
:
none
Lets the tree ref the node.
Lets the tree ref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching model know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its reffed state.
|
Gtk.TreeModel | |
remove_object
(Object object)
:
none
Removes object from project.
Removes object from project. Note that when removing the GObject from the project we don't change ->project in the associated GladeWidget; this way UNDO can work.
|
Gladeui.Project | |
required_libs
()
:
Array
of the required catalogs for this project
of the required catalogs for this project
|
Gladeui.Project | |
reset_path
()
:
none
|
Gladeui.Project | |
Project resource strings may be relative or fullpaths, but glade always expects a copy in the glade file directory, this function is used to make a local path to the file.
|
Gladeui.Project | |
Emits the "row-changed" signal on tree_model.
Emits the "row-changed" signal on tree_model.
|
Gtk.TreeModel | |
row_deleted
(TreePath path)
:
none
Emits the "row-deleted" signal on tree_model.
Emits the "row-deleted" signal on tree_model. This should be called by models after a row has been removed. The location pointed to by path should be the location that the row previously was at. It may not be a valid location anymore.
|
Gtk.TreeModel | |
Emits the "row-has-child-toggled" signal on tree_model.
Emits the "row-has-child-toggled" signal on tree_model. This should be called by models after the child state of a node changes.
|
Gtk.TreeModel | |
Emits the "row-inserted" signal on tree_model
Emits the "row-inserted" signal on tree_model
|
Gtk.TreeModel | |
Emits the "rows-reordered" signal on tree_model.
Emits the "rows-reordered" signal on tree_model. This should be called by models when their rows have been reordered.
|
Gtk.TreeModel | |
Gladeui.Project | ||
Adds object to the selection chain of project If emit_signal is TRUE, calls glade_project_selection_changed().
Adds object to the selection chain of project If emit_signal is TRUE, calls glade_project_selection_changed().
|
Gladeui.Project | |
selection_changed
()
:
none
Causes project to emit a "selection_changed" signal.
Causes project to emit a "selection_changed" signal.
|
Gladeui.Project | |
selection_clear
(Boolean emit_signal)
:
none
Clears project's selection chain If emit_signal is TRUE, calls glade_project_selection_changed().
Clears project's selection chain If emit_signal is TRUE, calls glade_project_selection_changed().
|
Gladeui.Project | |
selection_get
()
:
Array
|
Gladeui.Project | |
Removes object from the selection chain of project If emit_signal is TRUE, calls glade_project_selection_changed().
Removes object from the selection chain of project If emit_signal is TRUE, calls glade_project_selection_changed().
|
Gladeui.Project | |
Set the selection in project to object If emit_signal is TRUE, calls glade_project_selection_changed().
Set the selection in project to object If emit_signal is TRUE, calls glade_project_selection_changed().
|
Gladeui.Project | |
set_format
(ProjectFormat format)
:
none
|
Gladeui.Project | |
set_instance_count
(Number instance_count)
:
none
|
Gladeui.Project | |
set_naming_policy
(NamingPolicy policy)
:
none
|
Gladeui.Project | |
Sets name on widget in project, if name is not available then a new name will be used.
Sets name on widget in project, if name is not available then a new name will be used.
|
Gladeui.Project | |
undo
()
:
none
Redoes a GladeCommand in this project.
Redoes a GladeCommand in this project.
|
Gladeui.Project | |
undo_items
()
:
Gtk.Widget
Creates a menu of the undo items in the project stack
Creates a menu of the undo items in the project stack
|
Gladeui.Project | |
unref_node
(TreeIter iter)
:
none
Lets the tree unref the node.
Lets the tree unref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see gtk_tree_model_ref_node(). Please note that nodes that are deleted are not unreffed.
|
Gtk.TreeModel | |
verify_project_for_ui
()
:
none
Checks the project and updates warning strings in the UI
Checks the project and updates warning strings in the UI
|
Gladeui.Project | |
Checks the supported state of this widget adaptor and generates a string to show in the UI describing why.
Checks the supported state of this widget adaptor and generates a string to show in the UI describing why.
|
Gladeui.Project |
Event | Defined By | |
---|---|---|
|
Gladeui.Project | |
|
Gladeui.Project | |
close (Project self)
:
none
|
Gladeui.Project | |
convert_finished (Project self)
:
none
|
Gladeui.Project | |
parse_finished (Project self)
:
none
|
Gladeui.Project | |
|
Gladeui.Project | |
This signal is emitted when a row in the model has changed.
This signal is emitted when a row in the model has changed.
|
Gtk.TreeModel | |
This signal is emitted when a row has been deleted.
This signal is emitted when a row has been deleted. Note that no iterator is passed to the signal handler, since the row is already deleted. Implementations of GtkTreeModel must emit row-deleted
|
Gtk.TreeModel | |
This signal is emitted when a row has gotten the first child row or lost its last child row.
This signal is emitted when a row has gotten the first child row or lost its last child row.
|
Gtk.TreeModel | |
This signal is emitted when a new row has been inserted in the model.
This signal is emitted when a new row has been inserted in the model. Note that the row may still be empty at this point, since it is a common pattern to first insert an empty row, and then fill it with the desired values.
|
Gtk.TreeModel | |
This signal is emitted when the children of a node in the GtkTreeModel have been reordered.
This signal is emitted when the children of a node in the GtkTreeModel have been reordered. Note that this signal is
|
Gtk.TreeModel | |
selection_changed (Project self)
:
none
|
Gladeui.Project | |
targets_changed (Project self)
:
none
|
Gladeui.Project | |
|
Gladeui.Project |
Class / Namespace | Method / Signal / Properties |
---|---|
Gladeui
Method |
Gladeui.util_file_dialog_new
(String title, Project project, Window parent, UtilFileDialogType action)
:
Gtk.Widget
|
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.App
Property |
active_project : Gladeui.Project
|
Gladeui.App
Method |
Gladeui.App.get_project
()
:
Gladeui.Project
|
Gladeui.App
Method |
Gladeui.App.check_get_project
()
:
Gladeui.Project
|
Gladeui.App
Method |
Gladeui.App.set_project
(Project project)
:
none
Sets the active project in the GladeApp to project.
|
Gladeui.App
Method |
Gladeui.App.add_project
(Project project)
:
none
|
Gladeui.App
Method |
Gladeui.App.remove_project
(Project project)
:
none
|
Gladeui.App
Method |
Finds an open project with path
|
Gladeui.App
Method |
Gladeui.App.update_instance_count
(Project project)
:
none
|
Gladeui.Catalog
Method |
Do any data changes needed to the project for the new format in an undoable way.
|
Gladeui.Command
Method |
Sets the format of the project.
|
Gladeui.Command
Method |
Sets the naming policy of a project
|
Gladeui.Command
Method |
|
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.DesignView
Property |
project : Gladeui.Project
|
Gladeui.DesignView
Method |
Create a new Gladeui.DesignView
|
Gladeui.DesignView
Method |
|
Gladeui.DesignView
Method |
get_project
()
:
Gladeui.Project
|
Gladeui.EditorProperty
Method |
Gladeui.EditorProperty.show_resource_dialog
(Project project, Widget parent, Array filename)
:
Boolean
|
Gladeui.EditorProperty
Method |
Gladeui.EditorProperty.show_object_dialog
(Project project, String title, Widget parent, Number object_type, Widget exception, Widget object)
:
Boolean
|
Gladeui.Inspector
Property |
project : Gladeui.Project
|
Gladeui.Inspector
Method |
Create a new Gladeui.Inspector
|
Gladeui.Inspector
Method |
set_project
(Project project)
:
none
Sets the current project of inspector to project.
|
Gladeui.Inspector
Method |
get_project
()
:
Gladeui.Project
Note that the method does not ref the returned GladeProject.
|
Gladeui.Placeholder
Method |
get_project
()
:
Gladeui.Project
|
Gladeui.Property
Method |
Read the value and any attributes for property from node, assumes Note that object values will only be resolved after the project is completely loaded
|
Gladeui.Widget
Property |
project : Gladeui.Project
|
Gladeui.Widget
Method |
Gladeui.Widget.read
(Project project, Widget parent, XmlNode node, String internal)
:
Gladeui.Widget
|
Gladeui.Widget
Method |
set_project
(Project project)
:
none
Makes widget belong to project.
|
Gladeui.Widget
Method |
get_project
()
:
Gladeui.Project
|