Book description
GTK+ is one of the most influential graphical toolkits for the Linux operating system. It is the technology upon which the GNOME and XFCE desktop environments are based, and its crucial to have clear understanding of its complexities to build even a simple Linux desktop application. Foundations of GTK+ Development guides you through these complexities, laying the foundation that will allow you to cross from novice to professional.
Foundations of GTK+ Development is aimed at C programmers and presents numerous real-life examples that you can immediately put to use in your projects. Some familiarity with C programming is assumed, as the book delves into new topics from the beginning. Topics like object inheritance are covered early on to allow for complete understanding of code examples later. And the provided examples are real-life situations that can help you get a head start on your own applications.
Table of contents
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Author
- Acknowledgments
- Introduction
- CHAPTER 1: Getting Started
- CHAPTER 2: Your First GTK+ Applications
- CHAPTER 3: Container Widgets
- CHAPTER 4: Basic Widgets
- CHAPTER 5: Dialogs
- CHAPTER 6: Using GLib
- CHAPTER 7: The Text View Widget
- CHAPTER 8: The Tree View Widget
- CHAPTER 9: Menus and Toolbars
- CHAPTER 10: Dynamic User Interfaces
- CHAPTER 11: Creating Custom Widgets
- CHAPTER 12: Additional GTK+ Widgets
- CHAPTER 13: Putting It All Together
- APPENDIX A: GTK+ Properties
- APPENDIX B: GTK+ Signals
- APPENDIX C: GTK+ Styles
- APPENDIX D: GTK+ Stock Items
- APPENDIX E: GError Types
-
APPENDIX F: Exercise Solutions and Hints
- Exercise 2-1. Using Events and Properties
- Exercise 2-2. GObject Property System
- Exercise 3-1. Using Multiple Containers
- Exercise 3-2. Even More Containers
- Exercise 4-1. Renaming Files
- Exercise 4-2. Spin Buttons and Scales
- Exercise 5-1. Implementing File Chooser Dialogs
- Exercise 6-1. Working with Files
- Exercise 6-2. Timeout Functions
- Exercise 7-1. Text Editor
- Exercise 8-1. File Browser
- Exercise 9-1. Toolbars
- Exercise 9-2. Menu Bars
- Exercise 10-1. Glade Text Editor
- Exercise 10-2. Glade Text Editor with Menus
- Exercise 11-1. Expanding MyMarquee
- Exercise 12-1. Full Text Editor
- Index
Product information
- Title: Foundations of GTK+ Development
- Author(s):
- Release date: April 2007
- Publisher(s): Apress
- ISBN: 9781590597934
You might also like
book
Foundations of PyGTK Development: GUI Creation with Python
Learn how to develop portable GUI programs to run on multiple operating systems. Revised and updated …
book
Cross-Platform Development with Qt 6 and Modern C++
Enhance your cross-platform programming abilities with the powerful features and capabilities of Qt 6 Key Features …
book
Qt5 C++ GUI Programming Cookbook - Second Edition
Use Qt 5 to design and build functional, appealing, and user-friendly graphical user interfaces (GUIs) for …
book
Introducing Qt 6: Learn to Build Fun Apps & Games for Mobile & Desktop in C++
Get started quickly with Qt, the popular open source C++ framework for building C++-based applications and …