File: sec-WidgetsWithoutWindows.html

package info (click to toggle)
python-gtk2-tutorial 2.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,376 kB
  • ctags: 918
  • sloc: python: 5,731; makefile: 36
file content (30 lines) | stat: -rw-r--r-- 2,632 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>5.2.Widgets Without Windows</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="PyGTK 2.0 Tutorial"><link rel="up" href="ch-WidgetOverview.html" title="Chapter5.Widget Overview"><link rel="previous" href="ch-WidgetOverview.html" title="Chapter5.Widget Overview"><link rel="next" href="ch-ButtonWidget.html" title="Chapter6.The Button Widget"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">5.2.Widgets Without Windows</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch-WidgetOverview.html">Prev</a></td><th width="60%" align="center">Chapter5.Widget Overview</th><td width="20%" align="right"><a accesskey="n" href="ch-ButtonWidget.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sec-WidgetsWithoutWindows"></a>5.2.Widgets Without Windows</h2></div></div><div></div></div><p>The following widgets do not have an associated window. If you
want to capture events, you'll have to use the
<tt class="classname">EventBox</tt>. See the section on the
<tt class="classname">EventBox</tt> widget.</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
  gtk.Alignment
  gtk.Arrow
  gtk.Bin
  gtk.Box
  gtk.Button
  gtk.CheckButton
  gtk.Fixed
  gtk.Image
  gtk.Label
  gtk.MenuItem
  gtk.Notebook
  gtk.Paned
  gtk.RadioButton
  gtk.Range
  gtk.ScrolledWindow
  gtk.Separator
  gtk.Table
  gtk.Toolbar
  gtk.AspectFrame
  gtk.Frame
  gtk.VBox
  gtk.HBox
  gtk.VSeparator
  gtk.HSeparator
</pre></td></tr></table><p>We'll further our exploration of PyGTK by examining each widget
in turn, creating a few simple example programs to display them.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch-WidgetOverview.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="ch-WidgetOverview.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="ch-ButtonWidget.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter5.Widget Overview</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Chapter6.The Button Widget</td></tr></table></div></body></html>