Toolbar Class Reference

Inheritance diagram for Toolbar:

Container List of all members.

Detailed Description

A container for a set of frequently used tools.


Public Types

enum  
 The size to the icon to display. More...

Public Member Functions

 this ()
 Creates a new toolbar.
void appendSpace ()
 Insert a spacing at the current last position.
void prependSpace ()
 Insert a spaceing at the begining.
void insertSpace (gint position)
 Insert a spaceing at any postion.
void removeSpace (gint position)
 Remove a spacing from any position.
void appendWidget (Widget child, char[] tooltipText, char[] tooltipPrivateText)
 Append any widget to end of this toolbar.
void prependWidget (Widget child, char[] tooltipText, char[] tooltipPrivateText)
 Preppend any widget to start of this toolbar.
void insertWidget (Widget child, char[] tooltipText, char[] tooltipPrivateText, gint position)
 Insert any widget to any postion of this toolbar.
void setOrientation (GtkOrientation orientation)
 Set the toolbar orientation.
void setStyle (GtkToolbarStyle style)
 Sets the toolbar style.
void setIconSize (IconSize icon_size)
 Sets the icon size.
void setTooltips (bit enable)
 Sets if the tooltips are enabled.
void unsetStyle ()
 unset the toolbar style
void unsetIconStyle ()
 unsets the icon style
GtkOrientation getOrientation ()
 Gets the toolbar orientation.
GtkToolbarStyle getStyleToolbar ()
 Gets the toolbar style.
GtkIconSize getIconSize ()
 Gets the toolbar icon size.
bit getTooltips ()
 Gets the toolbar tooltips???

Static Public Member Functions

GType getType ()
 Gets this class type.

Public Attributes

enum Toolbar:: { ... }  return
 The size to the icon to display.


Member Enumeration Documentation

anonymous enum
 

The size to the icon to display.


Member Function Documentation

void Toolbar.appendSpace  ) 
 

Insert a spacing at the current last position.

void Toolbar.appendWidget Widget  child,
char[]  tooltipText,
char[]  tooltipPrivateText
 

Append any widget to end of this toolbar.

Parameters:
child the widget to append
tooltipText the tooltip text
tooltipPrivateText 

GtkIconSize Toolbar.getIconSize  ) 
 

Gets the toolbar icon size.

Returns:
the icon size

GtkOrientation Toolbar.getOrientation  ) 
 

Gets the toolbar orientation.

Returns:
the toolbar orientation

GtkToolbarStyle Toolbar.getStyleToolbar  ) 
 

Gets the toolbar style.

Returns:
the toolbar style

bit Toolbar.getTooltips  ) 
 

Gets the toolbar tooltips???

Returns:
true if

GType Toolbar.getType  )  [static]
 

Gets this class type.

Returns:
this class type

Reimplemented from Widget.

void Toolbar.insertSpace gint  position  ) 
 

Insert a spaceing at any postion.

Parameters:
position the position where to insert the spacing

void Toolbar.insertWidget Widget  child,
char[]  tooltipText,
char[]  tooltipPrivateText,
gint  position
 

Insert any widget to any postion of this toolbar.

Parameters:
child the widget to append
tooltipText the tooltip text
tooltipPrivateText 
position 

void Toolbar.prependSpace  ) 
 

Insert a spaceing at the begining.

void Toolbar.prependWidget Widget  child,
char[]  tooltipText,
char[]  tooltipPrivateText
 

Preppend any widget to start of this toolbar.

Parameters:
child the widget to append
tooltipText the tooltip text
tooltipPrivateText 

void Toolbar.removeSpace gint  position  ) 
 

Remove a spacing from any position.

Parameters:
position the spacing position

void Toolbar.setIconSize IconSize  icon_size  ) 
 

Sets the icon size.

This is from the standard icon size, not an arbitrary icon size

Parameters:
icon_size the standard icon size

void Toolbar.setOrientation GtkOrientation  orientation  ) 
 

Set the toolbar orientation.

Parameters:
orientation 

void Toolbar.setStyle GtkToolbarStyle  style  ) 
 

Sets the toolbar style.

Parameters:
style the new toolbar style

void Toolbar.setTooltips bit  enable  ) 
 

Sets if the tooltips are enabled.

Parameters:
enable if true the tooltips are eabled

Toolbar.this  ) 
 

Creates a new toolbar.

void Toolbar.unsetIconStyle  ) 
 

unsets the icon style

void Toolbar.unsetStyle  ) 
 

unset the toolbar style


Member Data Documentation

enum { ... } Toolbar.return
 

The size to the icon to display.


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