Method Gnome.Dock()->add_item()
- Method add_item
Gnome.Dock
add_item(Gnome.DockItem
item
,int
placement
,int
band_num
,int
position
,int
offset
,int
new_band
)- Description
Add item to dock. placement can be either Gnome.DOCK_TOP, Gnome.DOCK_RIGHT, Gnome.DOCK_BOTTOM or Gnome.DOCK_LEFT, and specifies what area of the dock should contain the item. If in_new_band is TRUE, a new dock band is created at the position specified by band_num; otherwise, the item is added to the band_num'th band.