在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Gtk+开发书籍.pdf

Gtk+开发书籍.pdf

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:15.94M
  • 下载次数:17
  • 浏览次数:432
  • 发布时间:2020-08-02
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
Gtk+开发书籍.pdf 有兴趣开发GTK+程序的朋友可以拿去
7931book Page ii Wednesday, March 28, 2007 7:35 PM Foundations of GTK+ development Copyright o 2007 by Andrew Krause All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, clectronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13(pbk:978-1-59059-7934 ISBN-10(pbk):1-59059-793-1 Printed and bound in the united states of america 987654321 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. ead Editors: Jason Gilmore, Matt Wade Technical Reviewers: Christiana Evelyn Johnson, Micah Carrick Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Jeff Pepper, Paul Sarknas Dominic Shakeshaft, Jim Sumser, Matt Wade Project Manager: Richard Dal Porto Copy Edit Manager: Nicole Flores Copy Editor: Heather Lang Assistant Production Director Kari Brooks-Copony Production editor: Katie stence Compositor: Pat Christenson Proofreader: Elizabeth berry Indexer: Ann rogers Artist: April Milne Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc, 233 Spring Street, 6th Floor NewYork,Ny10013.Phone1-800-springer,tax201-348-4505,e-mailorders-nyospringer-sbm.com,or visithttp://www.spriNgeron_ine.com For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA 94710.pHone510-549-5930,fax510-549-5939,e-mailinfo@apress.comorvisithttp://www.apress.com The information in this book is distributed on an"as is"basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s)nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly hy the information contained in this work. Thesourcecodeforthisbookisavailabletoreadersathttp://www.apress.comintheSourceCode/ Downloadsectionorattheofficialbooksitehttp://www.gtkbook.com 命) ● 7931book Page iii Wednesday, March 28, 2007 7: 35 PM I dedicate this book to mrs. Kaminsky, for never allowing me to settle for anything but my best. I hope you can look at this book and see everything that you have done for me, even though I have yet to broaden the scope of my writing beyond technology 命) ● 7931book Page iv wednesday, March 28, 2007 7: 35 PM 命) ● 7931book Page v Wednesday, March 28, 2007 7: 35 PM Contents at a glance About the author Acknowledgments Introduction XXI CHAPTER 1 Getting Started CHAPTER 2 Your First GTK+ Applications CHAPTER 3 Container Widgets CHAPTER 4 Basic Widgets 75 CHAPTER 5 Dialogs ..111 CHAPTER 6 Using GLib 159 CHAPTER 7 The Text view Widget ,,,219 CHAPTER 8 The Tree view Widget 261 CHAPTER 9 Menus and toolbars 315 CHAPTER 10 Dynamic User Interfaces 355 CHAPTER 11 Creating Custom Widgets ..381 CHAPTER 12 Additional GTK+ Widgets CHAPTER 13 Putting It All Together ..471 APPENDIX A GTK+ Properties APPENDIX B GTK+ Signals 529 APPENDIXc GTK+ styles 565 APPendiXd GTK+ stock items 583 APPENDIX E ERror Types 587 APPENDIX F Exercise Solutions and hints 595 INDEX 605 ● 7931book Page vi wednesday, March 28, 2007 7: 35 PM 命) ● 7931 book Page vii Wednesday, March 28, 2007 7:35 PM Contents About the author .,,,,,,,,,,,,,,..ⅩVl Acknowledgments XIX Introduction CHAPTER 1 Getting Started A Brief History of gTK+ ··1,11 The x Window system 2 GTK+ and Supporting Libraries GLib GObject 6 GDK 7 Gdkpixbuf Pango 8 ATK 9 Language bindings Installing gtK+ summary CHAPTER 2 Your First GTK+ Applications 15 Hello world 15 Initializing gtK+ 16 Widget Hierarchy GTK+ windows 19 The Main Loop function 20 Using GCC and pkg-contig to Compile EXtending“ Hello world”. Signals and Callbacks Connecting the Signal Callback functions Emitting and Stopping Signals Events 29 Event t Jsing Specific Event Structures 命) ● 7931book Page viii Wednesday, March 28, 2007 7:35 PM CONTENTS Further gtK+ functions GtkWidget Functions 32 GtkWindow functions Process Pending Events Buttons Widget properties 38 Test Your Understanding Summary CHAPTER 3 Container Widgets 43 Gtk Container Decorator containers Layout containers Resizing children Container Signals Horizontal and vertical boxes 46 Horizontal and vertical panes Tables 53 Table Packing Table spacing 57 Fixed containers 57 Expanders Handle boxes 62 Notebooks 64 GtkNotebook Properties Tab Operations 67 Event boxes Test Your Understanding 72 Summa CHAPTER 4 Basic Widgets 75 Using stock Items Toggle Butte 77 Managing Widget Flags Check Buttons ldio buttons 命) ● 7931book Page ix Wednesday, March 28, 2007 7: 35 PM CONTENTS Text entries Entry Properties Inserting Text into a gtkEntry Widget Manipulating GtkEntry Text Spin buttons Adjustments A Spin Button EXampl Horizontal and vertical scales Widget styles The gtkStyle Structure Resource files Additional buttons Color Buttons 97 File chooser buttons Font buttons ...106 Test Your Understanding 108 Summary 110 CHAPTER 5 Dialogs Creating Your Own Dialogs 111 Creating a Message Dialog 112 Nonmodal Message Dialog 118 Another Dialog Example 119 Built-in dialogs 122 Message Dialogs The about Dialog 126 File chooser dialogs 132 Color Selection Dialogs Font Selection Dialogs Dialogs with Multiple Pages Creating GtkAssistant Pag Gtk ProgressBar 153 Page Forward Functions 154 Test Your Understanding 156 Summa 156 ● 【实例截图】
【核心代码】

标签:

实例下载地址

Gtk+开发书籍.pdf

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

第 1 楼 Pythonlover2020 发表于: 2020-10-06 12:01 47
这是英文版的

支持(0) 盖楼(回复)

第 2 楼 wangcj159 发表于: 2021-04-10 14:29 19
英文版的 太差劲 坑人

支持(0) 盖楼(回复)

发表评论

(您的评论需要经过审核才能显示)

查看所有2条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警