⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtk+ faq.htm

📁 gtk 开发手册和参考文档。 包括gtk glib gdk等
💻 HTM
📖 第 1 页 / 共 4 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0023)http://www.gtk.org/faq/ -->
<HTML><HEAD><TITLE>GTK+ FAQ</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.3825.1300" name=GENERATOR></HEAD>
<BODY class=BOOK text=#000000 vLink=#840084 aLink=#0000ff link=#0000ff 
bgColor=#ffffff width="100%" marginwidth="0" marginheight="0">
<TABLE cellSpacing=6 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD vAlign=top noWrap bgColor=#ffffff>
      <CENTER><A href="http://www.gtk.org/"><IMG height=140 
      src="GTK+ FAQ.files/gtk-logo-rgb.gif" width=107 border=0></A> <FONT 
      face=helvetica,lucidia color=#000000><BR><BR><B>GTK+<BR>The GIMP Toolkit 
      </B></CENTER><BR>
      <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
        <TBODY>
        <TR>
          <TD bgColor=#000000>
            <TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
              <TBODY>
              <TR>
                <TD noWrap bgColor=#aaaaee><B>General </B></TD></TR>
              <TR>
                <TD noWrap bgColor=#ffffff><A 
                  href="http://www.gtk.org/">Introduction</A><BR><A 
                  href="http://www.gtk.org/screenshots/">Screenshots</A><BR><A 
                  href="http://www.gtk.org/download/">Download</A><BR><A 
                  href="http://www.gtk.org/mailinglists.html">Mailing 
                  Lists</A><BR><A 
                  href="http://www.gtk.org/bindings.html">Language 
                  Bindings</A><BR><A 
                  href="http://gtk.themes.org/">Themes</A><BR><A 
                  href="http://www.gtk.org/bugs.html">Bug 
              Tracker</A><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
      <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
        <TBODY>
        <TR>
          <TD bgColor=#000000>
            <TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
              <TBODY>
              <TR>
                <TD noWrap bgColor=#aaaaee><B>Documentation </B></TD></TR>
              <TR>
                <TD noWrap bgColor=#ffffff><A 
                  href="http://www.gtk.org/faq/">FAQ</A><BR><A 
                  href="http://www.gtk.org/tutorial/">Tutorial</A><BR><A 
                  href="http://www.gtk.org/api/">API Reference</A><BR><A 
                  href="http://www.gtk.org/books.html">Published 
              Books</A><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
      <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
        <TBODY>
        <TR>
          <TD bgColor=#000000>
            <TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
              <TBODY>
              <TR>
                <TD noWrap bgColor=#aaaaee><B>Projects </B></TD></TR>
              <TR>
                <TD noWrap bgColor=#ffffff><A 
                  href="http://www.pango.org/">Pango</A><BR><A 
                  href="http://sources.redhat.com/inti/">Inti</A><BR><A 
                  href="http://www.gnome.org/">GNOME</A><BR><A 
                  href="http://user.sgic.fi/~tml/gimp/win32/">GTK+ for 
                  Win32</A><BR><A 
                  href="http://people.redhat.com/sopwith/gtkfb/">GtkFB 
                  (Framebuffer)</A><BR><A 
                  href="http://www.directfb.org/gtk.xml">GTK+ on 
                  DirectFB</A><BR><A href="http://www.gtk.org/beos/">GTK+ for 
                  BeOS</A> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
      <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
        <TBODY>
        <TR>
          <TD bgColor=#000000>
            <TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
              <TBODY>
              <TR>
                <TD noWrap bgColor=#aaaaee><B><B>Applications</B> </B></TD></TR>
              <TR>
                <TD noWrap bgColor=#ffffff><A 
                  href="http://www.gimp.org/">GIMP</A><BR><A 
                  href="http://www.abiword.org/">Abiword</A><BR><A 
                  href="http://www.lysator.liu.se/~alla/dia/dia.html">Dia</A><BR><A 
                  href="http://glade.pn.org/">Glade</A><BR><A 
                  href="http://www.gnucash.org/">GnuCash</A><BR><A 
                  href="http://www.gnome.org/projects/gnumeric/">Gnumeric</A><BR><BR><A 
                  href="http://www.gnome.org/applist/">GNOME Software 
                Map</A><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR></FONT></TD>
    <TD vAlign=top width="99%" bgColor=#ffffff><FONT face=lucida,helvetica>
      <DIV class=BOOK><A name=AEN1></A>
      <DIV class=TITLEPAGE>
      <H1 class=TITLE><A name=AEN2>GTK+ FAQ</A></H1>
      <H3 class=AUTHOR><A name=AEN6>Tony Gale</A></H3>
      <H3 class=AUTHOR><A name=AEN9>Shawn Amundson</A></H3>
      <H3 class=AUTHOR><A name=AEN12>Emmanuel Deloget</A></H3><SPAN 
      class=DATE>February 27th 2001<BR></SPAN>
      <HR>
      </DIV>
      <DIV class=TOC>
      <DL>
        <DT><B>Table of Contents</B>
        <DT>1. <A href="http://www.gtk.org/faq/#AEN18">General Information</A>
        <DD>
        <DL>
          <DT>1.1. <A href="http://www.gtk.org/faq/#AEN20">Before anything else: 
          the greetings</A>
          <DT>1.2. <A href="http://www.gtk.org/faq/#AEN45">Authors</A>
          <DT>1.3. <A href="http://www.gtk.org/faq/#AEN56">What is GTK+?</A>
          <DT>1.4. <A href="http://www.gtk.org/faq/#AEN60">What is the + in 
          GTK+?</A>
          <DT>1.5. <A href="http://www.gtk.org/faq/#AEN65">Does the G in GTK+, 
          GDK and GLib stand for?</A>
          <DT>1.6. <A href="http://www.gtk.org/faq/#AEN70">Where is the 
          documentation for GTK+?</A>
          <DT>1.7. <A href="http://www.gtk.org/faq/#AEN89">Is there a mailing 
          list (or mailing list archive) for GTK+?</A>
          <DT>1.8. <A href="http://www.gtk.org/faq/#AEN93">How to get help with 
          GTK+</A>
          <DT>1.9. <A href="http://www.gtk.org/faq/#AEN96">How to report bugs in 
          GTK+</A>
          <DT>1.10. <A href="http://www.gtk.org/faq/#AEN111">Is there a Windows 
          version of GTK+?</A>
          <DT>1.11. <A href="http://www.gtk.org/faq/#AEN116">What applications 
          have been written with GTK+?</A>
          <DT>1.12. <A href="http://www.gtk.org/faq/#AEN142">I'm looking for an 
          application to write in GTK+. How about an IRC client?</A></DT></DL>
        <DT>2. <A href="http://www.gtk.org/faq/#AEN153">How to find, configure, 
        install, and troubleshoot GTK+</A>
        <DD>
        <DL>
          <DT>2.1. <A href="http://www.gtk.org/faq/#AEN155">What do I need to 
          run GTK+?</A>
          <DT>2.2. <A href="http://www.gtk.org/faq/#AEN158">Where can I get 
          GTK+?</A>
          <DT>2.3. <A href="http://www.gtk.org/faq/#AEN187">How do I 
          configure/compile GTK+?</A>
          <DT>2.4. <A href="http://www.gtk.org/faq/#AEN195">When compiling GTK+ 
          I get an error like: <TT class=LITERAL>make: file `Makefile' line 456: 
          Syntax error</TT></A>
          <DT>2.5. <A href="http://www.gtk.org/faq/#AEN200">I've compiled and 
          installed GTK+, but I can't get any programs to link with it!</A>
          <DT>2.6. <A href="http://www.gtk.org/faq/#AEN233">When compiling 
          programs with GTK+, I get compiler error messages about not being able 
          to find <TT class=LITERAL>glibconfig.h</TT>.</A>
          <DT>2.7. <A href="http://www.gtk.org/faq/#AEN247">When installing a 
          GTK+ application, configure reports that it can't find 
GTK.</A></DT></DL>
        <DT>3. <A href="http://www.gtk.org/faq/#AEN264">Development of GTK+</A>
        <DD>
        <DL>
          <DT>3.1. <A href="http://www.gtk.org/faq/#AEN266">Whats this CVS thing 
          that everyone keeps talking about, and how do I access it?</A>
          <DT>3.2. <A href="http://www.gtk.org/faq/#AEN295">How can I contribute 
          to GTK+?</A>
          <DT>3.3. <A href="http://www.gtk.org/faq/#AEN315">How do I know if my 
          patch got applied, and if not, why not?</A>
          <DT>3.4. <A href="http://www.gtk.org/faq/#AEN324">What is the policy 
          on incorporating new widgets into the library?</A>
          <DT>3.5. <A href="http://www.gtk.org/faq/#AEN327">Is anyone working on 
          bindings for languages other than C?</A></DT></DL>
        <DT>4. <A href="http://www.gtk.org/faq/#AEN384">Development with GTK+: 
        the begining</A>
        <DD>
        <DL>
          <DT>4.1. <A href="http://www.gtk.org/faq/#AEN386">How do I get 
          started?</A>
          <DT>4.2. <A href="http://www.gtk.org/faq/#AEN391">How do I write 
          security sensitive/SUID/SGID programs with GTK+? Is GTK+ secure? 
          What's this GTK_MODULES security hole I heard about?</A>
          <DT>4.3. <A href="http://www.gtk.org/faq/#AEN396">I tried to compile a 
          small <B class=COMMAND>Hello World</B> of mine, but it failed. Any 
          clue?</A>
          <DT>4.4. <A href="http://www.gtk.org/faq/#AEN412">What about using the 
          <B class=COMMAND>make</B> utility?</A>
          <DT>4.5. <A href="http://www.gtk.org/faq/#AEN419">I use the backquote 
          stuff in my makefiles, but my make process failed.</A>
          <DT>4.6. <A href="http://www.gtk.org/faq/#AEN424">I want to add some 
          configure stuff, how could I do this?</A>
          <DT>4.7. <A href="http://www.gtk.org/faq/#AEN445">I try to debug my 
          GTK+ application with gdb, but it hangs my X server when I hit some 
          breakpoint. Any Idea?</A></DT></DL>
        <DT>5. <A href="http://www.gtk.org/faq/#AEN456">Development with GTK+: 
        general questions</A>
        <DD>
        <DL>
          <DT>5.1. <A href="http://www.gtk.org/faq/#AEN458">What widgets are in 
          GTK?</A>
          <DT>5.2. <A href="http://www.gtk.org/faq/#AEN462">Is GTK+ thread safe? 
          How do I write multi-threaded GTK+ applications?</A>
          <DT>5.3. <A href="http://www.gtk.org/faq/#AEN472">Why does this 
          strange 'x io error' occur when I <TT class=LITERAL>fork()</TT> in my 
          GTK+ app?</A>
          <DT>5.4. <A href="http://www.gtk.org/faq/#AEN484">Why don't the 
          contents of a button move when the button is pressed? Here's a patch 
          to make it work that way...</A>
          <DT>5.5. <A href="http://www.gtk.org/faq/#AEN491">How do I identifiy a 
          widgets top level window or other ancestor?</A>
          <DT>5.6. <A href="http://www.gtk.org/faq/#AEN501">How do I get the 
          Window ID of a GtkWindow?</A>
          <DT>5.7. <A href="http://www.gtk.org/faq/#AEN505">How do I catch a 
          double click event (in a list widget, for example)?</A>
          <DT>5.8. <A href="http://www.gtk.org/faq/#AEN515">By the way, what are 
          the differences between signals and events?</A>
          <DT>5.9. <A href="http://www.gtk.org/faq/#AEN526">Data I pass to the 
          <TT class=LITERAL>delete_event</TT> (or other event) handler gets 
          corrupted.</A>
          <DT>5.10. <A href="http://www.gtk.org/faq/#AEN532">I have my signal 
          connected to the the (whatever) event, but it seems I don't catch it. 
          What's wrong?</A>
          <DT>5.11. <A href="http://www.gtk.org/faq/#AEN540">I need to add a new 
          signal to a GTK+ widget. Any idea?</A>
          <DT>5.12. <A href="http://www.gtk.org/faq/#AEN550">Is it possible to 
          get some text displayed which is truncated to fit inside its 
          allocation?</A>
          <DT>5.13. <A href="http://www.gtk.org/faq/#AEN556">How do I make my 
          window modal? / How do I make a single window active?</A>
          <DT>5.14. <A href="http://www.gtk.org/faq/#AEN561">Why doesn't my 
          widget (e.g. progressbar) update?</A>
          <DT>5.15. <A href="http://www.gtk.org/faq/#AEN569">How do I attach 
          data to some GTK+ object/widget?</A>
          <DT>5.16. <A href="http://www.gtk.org/faq/#AEN581">How do I remove the 
          data I have attached to an object?</A>
          <DT>5.17. <A href="http://www.gtk.org/faq/#AEN593">How do I reparent a 
          widget?</A>
          <DT>5.18. <A href="http://www.gtk.org/faq/#AEN600">How could I get any 
          widgets position?</A>
          <DT>5.19. <A href="http://www.gtk.org/faq/#AEN620">How do I set the 
          size of a widget/window? How do I prevent the user resizing my 
          window?</A>
          <DT>5.20. <A href="http://www.gtk.org/faq/#AEN639">How do I add a 
          popup menu to my GTK+ application?</A>
          <DT>5.21. <A href="http://www.gtk.org/faq/#AEN644">How do I disable or 
          enable a widget, such as a button?</A>
          <DT>5.22. <A href="http://www.gtk.org/faq/#AEN648">Shouldn't the text 
          argument in the gtk_clist_* functions be declared const?</A>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -