Programando com gtkmm 3
-
1 Introdução
- 1.1 Este livro
- 1.2 gtkmm
-
2 Instalação
- 2.1 Dependências
- 2.2 Unix e Linux
- 2.3 Microsoft Windows
-
3 Básico
- 3.1 Exemplo simples
- 3.2 Cabeçalhos e vinculação
- 3.3 Widgets
- 3.4 Sinais
- 3.5 Glib::ustring
- 3.6 Tipos intermediários
- 3.7 Misturando APIs C e C++
- 3.8 Olá mundo em gtkmm
-
4 Changes in gtkmm 3
-
5 Botões
- 5.1 Botão
- 5.2 Botão de alternância
- 5.3 Botão de seleção
- 5.4 Botão de opção
-
6 Range Widgets
- 6.1 Scrollbar Widgets
- 6.2 Scale Widgets
- 6.3 Update Policies
- 6.4 Exemplo
-
7 Miscellaneous Widgets
- 7.1 Label
- 7.2 Entry
- 7.3 SpinButton
- 7.4 ProgressBar
- 7.5 InfoBar
- 7.6 Tooltips
- 8 Container Widgets
-
9 The TreeView widget
- 9.1 The Model
- 9.2 The View
- 9.3 Iterating over Model Rows
- 9.4 The Selection
- 9.5 Sorting
- 9.6 Drag and Drop
- 9.7 Popup Context Menu
- 9.8 Examples
-
10 Combo Boxes
- 10.1 The model
- 10.2 The chosen item
- 10.3 Responding to changes
- 10.4 Full Example
- 10.5 Simple Text Example
- 10.6 ComboBox with an Entry
-
11 TextView
- 11.1 The Buffer
- 11.2 Widgets and ChildAnchors
- 11.3 Examples
-
12 Menus and Toolbars
- 12.1 Actions
- 12.2 UIManager
- 12.3 Popup Menus
- 12.4 Examples
-
13 ToolPalette
- 13.1 Drag and Drop
- 13.2 ToolPalette Example
- 14 Adjustments
-
15 Widgets Without X-Windows
- 15.1 EventBox
-
16 Dialogs
- 16.1 MessageDialog
- 16.2 FileChooserDialog
- 16.3 ColorChooserDialog
- 16.4 FontChooserDialog
- 16.5 Non-modal AboutDialog
-
17 The Drawing Area Widget
- 17.1 The Cairo Drawing Model
- 17.2 Drawing Straight Lines
- 17.3 Drawing Curved Lines
- 17.4 Drawing Arcs and Circles
- 17.5 Drawing Text
- 17.6 Drawing Images
- 17.7 Example Application: Creating a Clock with Cairo
-
18 Drag and Drop
- 18.1 Sources and Destinations
- 18.2 Methods
- 18.3 Sinais
- 18.4 DragContext
- 18.5 Exemplo
- 19 The Clipboard
-
20 Printing
- 20.1 PrintOperation
- 20.2 Page setup
- 20.3 Rendering text
- 20.4 Asynchronous operations
- 20.5 Export to PDF
- 20.6 Extending the print dialog
- 20.7 Preview
- 20.8 Exemplo
-
21 Recently Used Documents
- 21.1 RecentManager
- 21.2 RecentChooser
-
22 Plugs and Sockets
- 22.1 Overview
- 22.2 Plugs and Sockets Example
-
23 Keyboard Events
- 23.1 Overview
- 23.2 Event Propagation
-
24 Timeouts, I/O and Idle Functions
- 24.1 Timeouts
- 24.2 Monitoring I/O
- 24.3 Idle Functions
-
25 Memory management
- 25.1 Widgets
- 25.2 Shared resources
-
26 Glade and Gtk::Builder
- 26.1 Loading the .glade file
- 26.2 Accessing widgets
- 26.3 Using derived widgets
-
27 Internationalization and Localization
- 27.1 Preparing your project
- 27.2 Marking strings for translation
- 27.3 Expecting UTF8
- 27.4 Pitfalls
- 27.5 Getting help with translations
-
28 Custom Widgets
- 28.1 Custom Containers
- 28.2 Custom Widgets
-
29 Multi-threaded programs
- 29.1 The constraints
- 29.2 Using Glib::Dispatcher
-
30 Recommended Techniques
- 30.1 Application Lifetime
- 30.2 Using a gtkmm widget
-
31 Contributing
-
Apêndice A — The RefPtr smartpointer
- A.1 Copying
- A.2 Dereferencing
- A.3 Casting
- A.4 Checking for null
- A.5 Constness
- Apêndice B — Sinais
-
Apêndice C — Creating your own signals
- C.1 Exemplo
-
Apêndice D — Comparison with other signalling systems
- Apêndice E — gtkmm and Win32
- Apêndice F — Working with gtkmm's Source Code
- Apêndice G — Wrapping C Libraries with gmmproc