Plank.DockElement – plank Reference Manual
Packages
plank
Plank
DockElement
AddTime
Button
ClickedAnimation
Container
HoveredAnimation
IsAttached
IsVisible
LastActive
LastClicked
LastHovered
LastMove
LastScrolled
LastUrgent
LastValid
RemoveTime
ScrolledAnimation
Text
create_literal_menu_item
create_literal_menu_item_with_pixbuf
create_menu_item
create_menu_item_with_pixbuf
DockElement
accept_drop
as_uri
can_accept_drop
can_be_removed
clicked
get_dock
get_drop_text
get_menu_items
hovered
on_clicked
on_hovered
on_scrolled
reset_buffers
scrolled
unique_id
needs_redraw
DockElement
Object Hierarchy:
Description:
public
abstract
class
DockElement
:
Object
All known sub-classes:
ApplicationDockItem
ApplicationDockItemProvider
DefaultApplicationDockItemProvider
DockContainer
DockController
DockItem
DockItemProvider
DockletItem
FileDockItem
PlaceholderDockItem
PlankDockItem
TransientDockItem
Namespace:
Plank
Package:
plank
Content:
Properties:
public
int64
AddTime
{
get
;
set
; }
public
PopupButton
Button
{
get
;
protected
set
; }
public
AnimationType
ClickedAnimation
{
get
;
protected
set
; }
public
DockContainer
?
Container
{
get
;
set
; }
public
AnimationType
HoveredAnimation
{
get
;
protected
set
; }
public
bool
IsAttached
{
get
;
set
; }
public
bool
IsVisible
{
get
;
set
; }
public
int64
LastActive
{
get
;
protected
set
; }
public
int64
LastClicked
{
get
;
protected
set
; }
public
int64
LastHovered
{
get
;
protected
set
; }
public
int64
LastMove
{
get
;
protected
set
; }
public
int64
LastScrolled
{
get
;
protected
set
; }
public
int64
LastUrgent
{
get
;
protected
set
; }
public
int64
LastValid
{
get
;
protected
set
; }
public
int64
RemoveTime
{
get
;
set
; }
public
AnimationType
ScrolledAnimation
{
get
;
protected
set
; }
public
string
Text
{
get
;
set
; }
Static methods:
protected
static
MenuItem
create_literal_menu_item
(
string
title,
string
? icon =
null
,
bool
force_show_icon =
true
)
protected
static
MenuItem
create_literal_menu_item_with_pixbuf
(
string
title,
owned
Pixbuf
pixbuf,
bool
force_show_icon =
true
)
protected
static
MenuItem
create_menu_item
(
string
title,
string
? icon =
null
,
bool
force_show_icon =
false
)
protected
static
MenuItem
create_menu_item_with_pixbuf
(
string
title,
owned
Pixbuf
pixbuf,
bool
force_show_icon =
false
)
Creation methods:
protected
DockElement
()
Methods:
public
virtual
bool
accept_drop
(
ArrayList
<
string
> uris)
public
string
as_uri
()
public
virtual
bool
can_accept_drop
(
ArrayList
<
string
> uris)
public
virtual
bool
can_be_removed
()
public
void
clicked
(
PopupButton
button,
ModifierType
mod,
uint32
event_time)
public
unowned
DockController
?
get_dock
()
public
virtual
string
get_drop_text
()
public
virtual
ArrayList
<
MenuItem
>
get_menu_items
()
public
void
hovered
()
protected
virtual
AnimationType
on_clicked
(
PopupButton
button,
ModifierType
mod,
uint32
event_time)
protected
virtual
AnimationType
on_hovered
()
protected
virtual
AnimationType
on_scrolled
(
ScrollDirection
direction,
ModifierType
mod,
uint32
event_time)
public
abstract
void
reset_buffers
()
public
void
scrolled
(
ScrollDirection
direction,
ModifierType
mod,
uint32
event_time)
public
virtual
string
unique_id
()
Signals:
public
signal
void
needs_redraw
()
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