FileDockItem
Object Hierarchy:
Description:
public class FileDockItem :
DockItem
A dock item for files or folders on the dock.
Folders act like stacks and display the contents of the folder in the popup menu. Files just open the associated file.
Content:
Properties:
- public File OwnedFile { protected construct set; get; }
Creation methods:
Methods:
- protected override void load_from_launcher ()
Parses the associated launcher and e.g. sets the icon and text from
it.
- protected override void draw_icon_fast (Surface surface)
Draws a placeholder icon onto a surface. This method should be
considered time-critical! Make sure to only use simple drawing routines, and do not rely on external resources!
- protected override void draw_icon (Surface surface)
Draws the item's icon onto a surface.
- public void launch ()
Launches the application associated with this item.
- protected override AnimationType on_clicked (PopupButton button, ModifierType mod, uint32 event_time)
Called when an item is clicked on.
- public override ArrayList<MenuItem> get_menu_items ()
Returns a list of the item's menu items.
Inherited Members:
All known members inherited from class Plank.DockItem
All known members inherited from class Plank.DockElement
All known members inherited from class GLib.Object
- @new
- new_valist
- newv
- new_with_properties
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
- notify
- ref_count