DockLayout
Object Hierarchy:
Description:
[ CCode ( type_id = "gdl_dock_layout_get_type ()" ) ]
public class DockLayout : Object
The GdlDockLayout struct contains only private fields and should not be directly accessed.
Content:
Properties:
- public bool dirty { get; }
- public Object master { get; set; }
Creation methods:
Methods:
- public void attach (DockMaster master)
Attach the this to the master
and delete the reference to the master that the layout attached previously.
- public void delete_layout (string name)
Deletes the layout with the given name from the memory.
- public List<string> get_layouts (bool include_default)
Get the list of layout names including or not the default layout.
- public unowned Object get_master ()
Retrieves the master of the object.
- public bool is_dirty ()
Checks whether the XML tree in memory is different from the file where
the layout was saved.
- public bool load_from_file (string filename)
Loads the layout from file with the given filename
.
- public bool load_layout (string? name)
Loads the layout with the given name from the memory.
- public void save_layout (string? name)
Saves the this with the given name
to the memory.
- public bool save_to_file (string filename)
This function saves the current layout in XML format to the file with
the given filename
.
- public void set_master (Object master)
Attach the this to the master
and delete the reference to the master that the layout attached previously.
Inherited Members:
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