Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
B
 Basics
 Bugs
 Buttons and Toggles
C
 Caveats
 clear_sb_stack
 Combo Box and Menus
D
 Description
 Display Widgets
E
 Example
 exist_object
F
 Font Handling
 font_array_to_string
 font_string_to_array
G
 get_font_array
 get_font_string
 get_fontfamily
 get_fontsize
 get_fontweight
 get_image
 get_object
 get_pos
 get_size
 get_textview
 get_title
 get_tooltip
 get_treeview
 get_value
 get_widget
 GtkButton
 GtkCheckButton
 GtkComboBox
 GtkDrawingArea
 GtkEntry
 GtkFileChooserButton
 GtkFileChooserDialog
 GtkFontButton
 GtkFontSelectionDialog
 GtkFrame
 GtkImage
 GtkLabel
 GtkLinkButton
 GtkMenu
 GtkMenuBar
 GtkMenuItem
 GtkMessageDialog
 GtkNotebook
 GtkNotebookPage
 GtkRadioButton
 GtkScrollBar
 GtkSeparator
 GtkSlider
 GtkSpinButton
 GtkStatusbar
 GtkTextView
 GtkTooltip
 GtkTreeView
 GtkWindow
H
 Helpers
 hide_widget
I
 initial_draw
 internal_die
 is_active
 is_sensitive
 is_underlined
L
 Layout Containers
 License
 Localization
M
 Messages
 Miscellaneous
 Multiline Text Editor
N
 new_window
 Numeric/Text Data Entry
O
 Object Handling
 Ornaments
R
 remove_nb_page
 remove_sb_text
 remove_signal_handler
Short introduction how SimpleGtk2 is constructed.
Where to send bug reports.
The problems and their handling.
sub clear_sb_stack #(<name>)
Clears the message stack of a status bar.
SimpleGtk2 is a wrapper library to build graphical user interfaces with a minimal programming effort.
The ‘Hello World’ example ;-)
sub exist_object #(<name|widget>)
Check function if SimpleGtk2 object xyz exists.
sub font_array_to_string #(<font_array>)
Converts a font array into a font string.
sub font_string_to_array #(<font_string>)
Converts a font string into a font array.
sub get_font_array #(<name>)
Returns current font string of a widget as an array.
sub get_font_string #(<name>)
Returns the current font string of a widget.
sub get_fontfamily #(<name|widget>)
Returns the current font family of a widget.
sub get_fontsize #(<name|widget>)
Returns the current font size of a widget.
sub get_fontweight #(<name|widget>)
Returns the current font weight of a widget.
sub get_image #(<name>,
[<keyname>])
Returns the image reference, the pixbuffer or the path.
sub get_object #(<name|widget>)
Get the SimpleGtk2 widget hash from internal objects list.
sub get_pos #(<name>)
Returns the current position (in pixel) of a widget.
sub get_size #(<name>)
Returns the current width and height (in pixel) of a widget.
sub get_textview #(<name>,
[<keyname>])
Returns the textview reference, its’ textbuffer or the file path.
sub get_title #(<name>)
Returns the title text of a widget or the active value of a combo box.
sub get_tooltip #(<name>)
Returns the current tooltip text of a widget.
sub get_treeview #(<name>,
[<keyname>])
Returns the treeview reference.
sub get_value #( <name>,  
 <keyname>,  
or <keyname> = > <value>)
Returns a current value of a widget.
sub get_widget #(<name>)
Get a Gtk2 widget reference of a SimpleGtk2 object.
A widget that creates a signal when clicked on.
A widget that creates a discrete toggle button with label.
A widget used to choose from a list of items.
A widget for custom user interface elements.
A single line text entry field.
A button to launch a file selection dialog.
A file chooser dialog.
A button to launch a font selection dialog.
A dialog box for selecting fonts.
A bin with a decorative frame and optional label.
A widget displaying an image.
A widget that displays a small to medium amount of text.
A button bound to an URL.
A menu widget.
A standard menu bar.
The widget used for item in menus.
A convenient message window
A tabbed notebook container.
A notebook page.
A choice from multiple check buttons.
A horizontal or vertical scrollbar.
A horizontal or vertical separator.
A horizontal or vertical slider widget for selecting a value from a range.
Retrieve an integer or floating-point number from the user.
Report messages of minor importance to the user.
Widget that displays a GtkTextBuffer.
Add tips to your widgets.
A widget for displaying both trees and lists.
Toplevel window which can contain other widgets
Helper functions to support things like localization, stderr messages, etc.
sub hide_widget #(<name>)
Hide a widget.
sub initial_draw #(<drawing_area_name>,
<function>,
[<data>])
Base function to draw with the drawing area.
sub internal_die #(<msg>)
Internal die function if a fatal error occurs.
sub is_active #(<name>,
[<value/string>])
Returns the state of Check- and RadioButtons or for given combobox value/string.
sub is_sensitive #(<name>)
Returns the sensitive state of a widget.
sub is_underlined #(<text>)
Returns the state of a text whether it has an underline.
This software stands under the GPL V2 or higher.
sub new_window #(Name = > <name>,
Title = > <window title>,
[Version => <version-string>],  
[Base => <font_size>],  
[Size => [width, height]],  
[Fixed => <0/1>],  
[Iconpath => <icon_path>],  
[ThemeIcon => <theme_icon_name>],  
[Statusbar => <show_time|1>]  )
Creates a new GtkWindow, a toplevel window, that contain other widgets.
sub remove_nb_page #(<nb_name>,
<title|number>)
Removes a notebook page from a notebook.
sub remove_sb_text #([<name>],
[<text>|<msg-id>])
Removes a message from the status bar.
sub remove_signal_handler #(<name>,
<signal>)
Removes a signal handler (signal-function pair) from a widget.
Close