Constructor

PanelToggleButtonnew

Declaration [src]

GtkWidget*
panel_toggle_button_new (
  PanelDock* dock,
  PanelArea area
)

Description [src]

Creates a new PanelToggleButton to hide the dock in the area.

Parameters

dock PanelDock
 

PanelDock the panel to control.

 The data is owned by the caller of the function.
area PanelArea
 

PanelArea the panel area. A value of PanelArea.PANEL_AREA_CENTER invalid.

Return value

Returns: GtkWidget
 

A newly created PanelToggleButton.

 The data is owned by the called function.