OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
GtkToolbar

GtkToolbar

Container that creates bars of buttons and other widgets.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkToolbar

Direct subclasses

None.

Description

Horizontal or vertical container for bars of buttons and other widgets.

Toolbars are used to give the user access to often used functions like "New document", "Open", "Save" and such. The toolbar can show buttons of text and icons as well as only one of both, which can be set during runtime.

The methods insert_element() , append_element() , prepend_element() , insert_item() , append_item() and prepend_item() as well as all the properties are available since PHP-Gtk 1.0.1 only.

Constructor

-- Creates a new toolbar instance.

Methods

add()
  Appends an existing widget to the toolbar.
append_space()
  Adds a spacer element to the end.
prepend_space()
  Adds a spacer element before the first item.
insert_space()
  Inserts a spacer element at the given position.
append_element()
  Adds a new toolbar element button to the end.
prepend_element()
  Adds a new toolbar element before the first item.
insert_element()
  Inserts a new toolbar element at the given position.
append_item()
  Adds a new button to the end.
prepend_item()
  Adds a new button before the first item.
insert_item()
  Inserts a new button at the given position.
append_widget()
  Adds a widget to the end.
prepend_widget()
  Adds a widget before the first item.
insert_widget()
  Inserts a widget at the given position.
set_orientation()
  Sets the toolbar orientation to horizontal or vertical.
set_style()
  Sets the text/icon style.
set_space_size()
  Sets the width/height which a space takes.
set_space_style()
  Sets the space style: line or invisible.
set_tooltips()
  Enables or disables the display of tooltips
set_button_relief()
  Sets the relief style for buttons on the toolbar
get_button_relief()
  Returns the button relief style.

Signals

"style-changed"
  Emitted when the style has changed.
"orientation-changed"
  Emitted when the orientation has changed.

Properties

orientation:
  Returns the orientation (horizontal or vertical) of the toolbar
space_size:
  Returns the width/height which a space takes.
space_style:
  Returns the current space style of the toolbar.
style:
  Returns the current toolbar style.

 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting

Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005