Plank.DockController – plank – Vala Binding Reference

Plank.DockController – plank Reference Manual

# DockController

## Object Hierarchy:

## Description:

public class DockController : DockContainer

A controller class for managing a single dock.

All needed controlling parts will be created and initialized.

Namespace: Plank
Package: plank

## Content:

### Properties:

- public File config_folder { construct; get; }
- public File launchers_folder { get; }
- public DockPreferences prefs { construct; get; }
- public DragManager drag_manager { protected set; get; }
- public HideManager hide_manager { protected set; get; }
- public PositionManager position_manager { protected set; get; }
- public DockRenderer renderer { protected set; get; }
- public DockWindow window { protected set; get; }
- public DockItemProvider? default_provider { get; }
- public ArrayList<weak DockItem> Items { get; }
  List of all items on this dock
- public ArrayList<weak DockItem> VisibleItems { get; }
  Ordered list of all visible items on this dock

### Creation methods:

- public DockController (File config_folder)
  Create a new DockController which manages a single dock

### Methods:

- public void initialize ()
  Initialize this controller. Call this when added at least one DockItemProvider otherwise the Plank.Items.DefaultApplicationDockItemProvider will be added by default.
- public void add_default_provider ()
  Add the default provider which is an instance of Plank.Items.DefaultApplicationDockItemProvider
- protected override void connect_element (DockElement element)
- protected override void disconnect_element (DockElement element)
- protected override void update_visible_elements ()

### Inherited Members:

All known members inherited from class Plank.Items.DockContainer

- VisibleElements
- Elements
- move_element
- prepare
- add
- prepend
- add_all

- remove
- remove_all
- update_visible_elements
- move_to
- reset_buffers
- replace
- connect_element

- disconnect_element
- elements_changed
- states_changed
- positions_changed
- placeholder_item
- visible_elements
- internal_elements

All known members inherited from class Plank.Items.DockElement

- Container
- Text
- IsAttached
- IsVisible
- Button
- ClickedAnimation
- HoveredAnimation
- ScrolledAnimation
- AddTime
- RemoveTime
- LastClicked
- LastHovered

- LastScrolled
- LastUrgent
- LastActive
- LastMove
- LastValid
- create_menu_item
- create_menu_item_with_pixbuf
- clicked
- on_clicked
- hovered
- on_hovered

- scrolled
- on_scrolled
- get_dock
- get_menu_items
- can_be_removed
- can_accept_drop
- accept_drop
- unique_id
- as_uri
- reset_buffers
- needs_redraw

All known members inherited from class GLib.Object

- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer

- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata

- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count