GTK
From Gui
(Difference between revisions)
(GtkComboBoxEntry is editable=true) |
(Layouts) |
||
| Line 41: | Line 41: | ||
** GtkDrawingArea | ** GtkDrawingArea | ||
** GtkNotebook | ** GtkNotebook | ||
| + | |||
| + | == Layouts == | ||
| + | |||
| + | Similar to Tk, especially Table (Grid) | ||
| + | |||
| + | === Horizontal packing === | ||
| + | |||
| + | * Horizontal padding only, widget always fills full height | ||
| + | * Widget can be stretched to cell or extra padding can be automatically added | ||
| + | |||
| + | === Vertical packing === | ||
| + | |||
| + | * Vertical padding only, widget always fills full width | ||
| + | * Widget can be stretched to cell or extra padding can be automatically added | ||
| + | |||
| + | === Table (Grid) packing === | ||
| + | |||
| + | * Basically, horizontal and vertical packed cells that are tied to each other in row/column relationships | ||
| + | * Widgets may be padded horizontal and vertically | ||
| + | * Widgets may span multiple cells (rows/columns) | ||
== Properties == | == Properties == | ||
Revision as of 20:54, 15 June 2009
http://library.gnome.org/devel/gtk/stable/
Contents |
Widgets
- GtkDialog Widget/Frame
- GtkAboutDialog Widget/Frame
- GtkAssistant Widget/Frame
- GtkScrolledWindow Widget/Frame
- GtkWindow Widget/Frame
- GtkFrame Widget/Frame
- GtkLabel Widget/Label
- GtkAccelLabel Widget/Label
- GtkImage Widget/Label
- GtkProgressBar
- GtkStatusbar
- GtkButton Widget/Button
- GtkLinkButton Widget/Button
- GtkToolButton Widget/Button
- GtkCheckButton Widget/Checkbox
- GtkRadioButton Widget/Checkbox
- GtkToggleButton Widget/Checkbox
- GtkScaleButton
- GtkVolumeButton
- GtkEntry Widget/Textarea
- GtkText Widget/Textarea
- GtkHScale
- GtkVScale
- GtkSpinButton
- GtkTextView Widget/Label
- GtkTreeView (has some features like Widget/Listbox, but many more)
- GtkCellView
- GtkIconView
- GtkComboBox Widget/Listbox
- GtkComboBoxEntry Widget/Listbox
- GtkMenu
- GtkMenuBar
- GtkToolbar
- GtkHScrollbar
- GtkVScrollbar
- GtkCalendar
- GtkDrawingArea
- GtkNotebook
Layouts
Similar to Tk, especially Table (Grid)
Horizontal packing
- Horizontal padding only, widget always fills full height
- Widget can be stretched to cell or extra padding can be automatically added
Vertical packing
- Vertical padding only, widget always fills full width
- Widget can be stretched to cell or extra padding can be automatically added
Table (Grid) packing
- Basically, horizontal and vertical packed cells that are tied to each other in row/column relationships
- Widgets may be padded horizontal and vertically
- Widgets may span multiple cells (rows/columns)
Properties
GtkLabel / GtkAccelLabel
- label
- selectable
- wrap
- wrap-mode
- width-chars
- max-width-chars
- single-line-mode
- ellipsize
- justify
- use-markup
- use-underline
- pattern
- mnemonic-keyval
- mnemonic-widget
- (also, accel-widget for GtkAccelLabel)
GtkImage
- storage-type
One of
- file
- gicon
- icon-set
- image
- pixbuf
- stock
