gtk.SeparatorToolItem.SeparatorToolItem Class Reference

Inheritance diagram for gtk.SeparatorToolItem.SeparatorToolItem:

gtk.ToolItem.ToolItem gtk.Bin.Bin gtk.Container.Container gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG List of all members.

Public Member Functions

GtkSeparatorToolItemgetSeparatorToolItemStruct ()
 this (GtkSeparatorToolItem *gtkSeparatorToolItem)
 Sets our main struct and passes it to the parent class.
 this ()
 Create a new GtkSeparatorToolItem Returns: the new GtkSeparatorToolItem Since 2.4.
void setDraw (int draw)
 When separator_tool_items is drawn as a vertical line, or just blank.
int getDraw ()
 Returns whether separator_tool_item is drawn as a line, or just blank.

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GtkSeparatorToolItemgtkSeparatorToolItem
 the main Gtk struct

Constructor & Destructor Documentation

gtk.SeparatorToolItem.SeparatorToolItem.this ( GtkSeparatorToolItem gtkSeparatorToolItem  ) 

Sets our main struct and passes it to the parent class.

gtk.SeparatorToolItem.SeparatorToolItem.this (  ) 

Create a new GtkSeparatorToolItem Returns: the new GtkSeparatorToolItem Since 2.4.


Member Function Documentation

int gtk.SeparatorToolItem.SeparatorToolItem.getDraw (  ) 

Returns whether separator_tool_item is drawn as a line, or just blank.

See gtk_separator_tool_item_set_draw(). item: a GtkSeparatorToolItem Returns: TRUE if separator_tool_item is drawn as a line, or just blank. Since 2.4 Property Details The "draw" property "draw" gboolean : Read / Write Whether the separator is drawn, or just blank. Default value: TRUE See Also GtkToolbar The toolbar widget GtkRadioToolButton A toolbar item containing a radio button

GtkSeparatorToolItem* gtk.SeparatorToolItem.SeparatorToolItem.getSeparatorToolItemStruct (  ) 

void* gtk.SeparatorToolItem.SeparatorToolItem.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gtk.ToolItem.ToolItem.

void gtk.SeparatorToolItem.SeparatorToolItem.setDraw ( int  draw  ) 

When separator_tool_items is drawn as a vertical line, or just blank.

Setting this FALSE along with gtk_tool_item_set_expand() is useful to create an item that forces following items to the end of the toolbar. item: a GtkSeparatorToolItem draw: whether separator_tool_item is drawn as a vertical line Since 2.4


Member Data Documentation

GtkSeparatorToolItem* gtk.SeparatorToolItem.SeparatorToolItem.gtkSeparatorToolItem [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo