Programming with gtkmm

# Programming with gtkmm

### Murray Cumming

### Bernhard Rieder

Chapter on "Timeouts".

### Jonathon Jongsma

Chapter on "Drawing with Cairo". Chapter on "Working with CVS". Chapter on "Recent Files".

### Jason M'Sadoques

Chapter on "Drawing Area".

### Ole Laursen

Parts of chapter on "Internationalization".

### Gene Ruebsamen

Chapter on "Win32 Installation".

### Cedric Gustin

Chapter on "Win32 Installation".

### Marko Anastasov

Chapter on "Printing". Parts of chapter on "Internationalization".

### Alan Ott

Appendix on "Visual Studio 2005.".

Copyright © 2002-2006 Murray Cumming

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy of the GNU Free Documentation License from the Free Software Foundation by visiting their Web site or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Abstract

We very much appreciate any reports of inaccuracies or other errors in this document. Contributions are also most welcome. Post your suggestions, critiques or addenda to the gtkmm mailing list -- The gtkmm Development Team

List of Figures

- 3.1. Hello World
- 4.1. buttons example
- 4.2. CheckButton
- 4.3. RadioButton
- 5.1. Range Widgets
- 6.1. Label
- 6.2. Entry
- 6.3. SpinButton
- 6.4. ProgressBar
- 7.1. Frame
- 7.2. Paned
- 7.3. ScrolledWindow
- 7.4. AspectFrame
- 7.5. Alignment
- 7.6. Hello World 2
- 7.7. Box Packing 1
- 7.8. Box Packing 2
- 7.9. ButtonBox
- 7.10. Table
- 7.11. Notebook
- 8.1. TreeView - ListStore
- 8.2. TreeView - TreeStore
- 8.3. TreeView - ListStore
- 8.4. TreeView - TreeStore
- 8.5. TreeView - Editable Cells
- 8.6. TreeView - Drag And Drop
- 8.7. TreeView - Popup Context Menu
- 9.1. ComboBox
- 9.2. ComboBox
- 9.3. ComboBoxEntry
- 9.4. ComboBoxEntryText
- 10.1. TextView
- 11.1. Main Menu
- 11.2. Popup Menu
- 13.1. EventBox
- 14.1. MessageDialog
- 14.2. FileChooser
- 14.3. ColorSelectionDialog
- 14.4. FontSelectionDialog
- 15.1. Drawing Area - Lines
- 15.2. Different join types in Cairo
- 15.3. Drawing Area - Lines
- 15.4. Drawing Area - Arcs
- 16.1. Drag and Drop
- 17.1. Clipboard - Simple
- 17.2. Clipboard - Ideal
- 18.1. Printing - Simple
- 25.1. Custom Container
- 25.2. Custom Widget
- E.1. Dev-C++ Project Options
- J.1. Selecting `New Project` from the menu.
- J.2. Selecting Win32 Console Application.
- J.3. Verifying Application Settings.
- J.4. New Project as Created by Visual Stuido.
- J.5. Corrected `main()` function.
- J.6. Corrected `stdafx.h` header file.
- J.7. Simple gtkmm Program.
- J.8. Visual Stuio Property files in the gtkmm Distribution.
- J.9. Property Manager (left) with `Property Manager` tab circled.
- J.10. Adding an Existing Property Sheet.
- J.11. Property manager with gtkmm property files added.
- J.12. Opening the Project Properties.
- J.13. Removing the `$(NoInherit)` flag.
- J.14. Disabling warning 4250.
- J.15. Setting the Subsystem to `Windows` to disable the console.
- J.16. Setting the correct entry point symbol for Windows programs using `main()`.

|  | Chapter 1. Introduction