GdlDockMaster

## GdlDockMaster GdlDockMaster |

## Synopsis

    #define             GDL_DOCK_OBJECT_GET_MASTER          (object)
    struct              GdlDockMaster;
    struct              GdlDockMasterClass;
    enum                GdlSwitcherStyle;
    void                gdl_dock_master_add                 (GdlDockMaster *master,
                                                             GdlDockObject *object);
    void                gdl_dock_master_foreach             (GdlDockMaster *master,
                                                             GFunc function,
                                                             gpointer user_data);
    void                gdl_dock_master_foreach_toplevel    (GdlDockMaster *master,
                                                             gboolean include_controller,
                                                             GFunc function,
                                                             gpointer user_data);
    GdlDockObject *     gdl_dock_master_get_controller      (GdlDockMaster *master);
    GdlDockObject *     gdl_dock_master_get_object          (GdlDockMaster *master,
                                                             const gchar *nick_name);
    void                gdl_dock_master_remove              (GdlDockMaster *master,
                                                             GdlDockObject *object);
    void                gdl_dock_master_set_controller      (GdlDockMaster *master,
                                                             GdlDockObject *new_controller);

## Object Hierarchy

      GObject
       +----GdlDockMaster

      GEnum
       +----GdlSwitcherStyle

## Properties

      "default-title"            gchar*                : Read / Write
      "locked"                   gint                  : Read / Write
      "switcher-style"           GdlSwitcherStyle      : Read / Write

## Signals

      "layout-changed"                                 : Run Last

## Description

## Details

### GDL_DOCK_OBJECT_GET_MASTER()

    #define             GDL_DOCK_OBJECT_GET_MASTER(object)

### struct GdlDockMaster

    struct GdlDockMaster;

### struct GdlDockMasterClass

    struct GdlDockMasterClass {
        GObjectClass parent_class;

        void (* layout_changed) (GdlDockMaster *master);
    };

### enum GdlSwitcherStyle

    typedef enum {
        GDL_SWITCHER_STYLE_TEXT,
        GDL_SWITCHER_STYLE_ICON,
        GDL_SWITCHER_STYLE_BOTH,
        GDL_SWITCHER_STYLE_TOOLBAR,
        GDL_SWITCHER_STYLE_TABS,
        GDL_SWITCHER_STYLE_NONE
    } GdlSwitcherStyle;

### gdl_dock_master_add ()

    void                gdl_dock_master_add                 (GdlDockMaster *master,
                                                             GdlDockObject *object);

### gdl_dock_master_foreach ()

    void                gdl_dock_master_foreach             (GdlDockMaster *master,
                                                             GFunc function,
                                                             gpointer user_data);

### gdl_dock_master_foreach_toplevel ()

    void                gdl_dock_master_foreach_toplevel    (GdlDockMaster *master,
                                                             gboolean include_controller,
                                                             GFunc function,
                                                             gpointer user_data);

### gdl_dock_master_get_controller ()

    GdlDockObject *     gdl_dock_master_get_controller      (GdlDockMaster *master);

### gdl_dock_master_get_object ()

    GdlDockObject *     gdl_dock_master_get_object          (GdlDockMaster *master,
                                                             const gchar *nick_name);

### gdl_dock_master_remove ()

    void                gdl_dock_master_remove              (GdlDockMaster *master,
                                                             GdlDockObject *object);

### gdl_dock_master_set_controller ()

    void                gdl_dock_master_set_controller      (GdlDockMaster *master,
                                                             GdlDockObject *new_controller);

## Property Details

### The `"default-title"` property

      "default-title"            gchar*                : Read / Write

Default title for newly created floating docks.

Default value: NULL

### The `"locked"` property

      "locked"                   gint                  : Read / Write

If is set to 1, all the dock items bound to the master are locked; if it's 0, all are unlocked; -1 indicates inconsistency among the items.

Allowed values: [G_MAXULONG,1]

Default value: 0

### The `"switcher-style"` property

      "switcher-style"           GdlSwitcherStyle      : Read / Write

Switcher buttons style.

Default value: GDL_SWITCHER_STYLE_BOTH

## Signal Details

### The `"layout-changed"` signal

    void                user_function                      (GdlDockMaster *gdldockmaster,
                                                            gpointer       user_data)          : Run Last

`gdldockmaster` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.