Python-Ref
>
GUI programming with PyGTK
Hlavní stránka
Aplikované XML technologie
Počítačové zpracování chemických struktur
Skriptovací jazyky
GUI v Pythonu
Klíčová slova
Funkce
Moduly
Search
GUI programming with PyGTK
54 příkladů, 93 kousků kódu, 7358 řádek kódu
Introduction
Hello world in GTK
The simplest possible GTK program
Hello world in GTK II.
A more elaborate example of Hello world.
Containers and layout
Boxes
Simple containers that allow for storage of several GUI items.
Boxes in more detail
How can we influence the appearance and behaviour of boxes.
Table layout
How to create a table-like layout.
Events
Events
How to react to user actions.
Data structures
Objects that represent data and are not visible themselves.
Adjustments
Objects that define how scrollbars, scale widgets, etc. behave.
TreeModel
Model of data to be displayed in a variety of widgets.
ListStore
Data model for table like, 2D data.
TreeStore
Data model for tree like data with columnar internal structure.
TreeStore for XML
How to create a TreeStore that describes the strucure of an XML document.
Clipboard
How to work with clipboard.
Widgets
Labels
How to add simple text into your GUI.
Buttons
How to use buttons.
Stock buttons
How to use built-in buttons.
Check buttons
Yes-no selection widgets.
Radio buttons
Selection between several possibilities.
Entry
Simple widget for single-line text input from the user.
SpinButton
Entry for numbers with arrows to increase and decrease the value.
Frame
Simple widget for decoration and visual grouping of GUI elements.
Menu
How to create an application menu.
Context menu
How to use Menu to create context menus.
UIManager
Easier way to create menus and toolbars using UIManager.
TextView
Widget for display of rich text documents.
TextView with rich text
How to display rich text in TextView.
Image
How to display an image.
Scales
A simple slider widget for selection of value in a range.
Tooltip
How to display simple text hints above widget when holding mouse over them.
Statusbar
Message display widget with history tracking.
Combo
Select from several options in a drop-down meny.
ComboBox
Drop-down selection from several possibilities.
ComboBoxEntry
More powerful replacement for Combo.
Notebook
Tabbed widget for organization of GUI.
Progressbar
Widget displaying progress of some process.
ButtonBox
Box widget specialized for button display.
Paned
Widgets allowing separation of window to two parts of adjustable size.
TreeView
Powerful widget for display of tabular and tree-like data.
TreeView II. - available cell renderers
What kinds of cell renderers are available.
TreeView III. - advanced cell renderer topics
What can we do with cell renderers.
TreeView IV. - display of trees
How to render trees instead of simple tabular data in the TreeView.
Dialogs
Dialog
General dialog widget.
Message dialog
Dialog for messages.
File selection dialog
How to use a dialog for file selection.
Glade UI designer
Hello Glade
Hello GtkBuilder
Localization using gettext
Localization introduction
GUI localization
Plural forms
Language detection on Windows
Localizing with GtkBuilder XML files
Real world example
Cookbook GUI
Real world example of a simple cookbook management program.
Cookbook GUI II.
This version add support for actual viewing of the recipes.
Cookbook GUI NG
A new generation of CookBook, this time complete and with GtkBuilder support.
Cookbook GUI NG - version 2.0
An improved version of new generation of CookBook.