This file is indexed.

/usr/share/doc/python-gtk2-tutorial/html/ch-SettingWidgetAttributes.html is in python-gtk2-tutorial 2.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 18. Setting Widget Attributes</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="index.html" title="PyGTK 2.0 Tutorial"><link rel="previous" href="sec-GammaCurve.html" title="17.6. Gamma Curve"><link rel="next" href="sec-WidgetDisplayMethods.html" title="18.2. Widget Display Methods"></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">Chapter 18. Setting Widget Attributes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sec-GammaCurve.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="sec-WidgetDisplayMethods.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ch-SettingWidgetAttributes"></a>Chapter 18. Setting Widget Attributes</h2></div></div><div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch-SettingWidgetAttributes.html#sec-WidgetFlagMethods">18.1. Widget Flag Methods</a></span></dt><dt><span class="sect1"><a href="sec-WidgetDisplayMethods.html">18.2. Widget Display Methods</a></span></dt><dt><span class="sect1"><a href="sec-WidgetAccelerators.html">18.3. Widget Accelerators</a></span></dt><dt><span class="sect1"><a href="sec-WidgetNameMethods.html">18.4. Widget Name Methods</a></span></dt><dt><span class="sect1"><a href="sec-WidgetStyles.html">18.5. Widget Styles</a></span></dt></dl></div><p>This describes the methods used to operate on widgets (and
objects). These can be used to set style, padding, size, etc.</p><p>The method:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
  widget.activate()
</pre></td></tr></table><p>causes the widget to emit the "activate" signal.</p><p>The method:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
  widget.set_sensitive(<b class="parameter"><tt>sensitive</tt></b>)
</pre></td></tr></table><p>sets the sensitivity of the widget (i.e. does it react to events).
if <i class="parameter"><tt>sensitive</tt></i> is <tt class="literal">TRUE</tt> the widget
will receive events; if <tt class="literal">FALSE</tt> the widget will not receive
events. A widget that is insensitive is usually displayed "grayed
out".</p><p>The method:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
  widget.set_size_request(<b class="parameter"><tt>width</tt></b>, <b class="parameter"><tt>height</tt></b>)
</pre></td></tr></table><p>sets the widget size to the given <i class="parameter"><tt>width</tt></i> and
<i class="parameter"><tt>height</tt></i>.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sec-WidgetFlagMethods"></a>18.1. Widget Flag Methods</h2></div></div><div></div></div><p>The methods:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
  widget.set_flags(<b class="parameter"><tt>flags</tt></b>)

  widget.unset_flags(<b class="parameter"><tt>flags</tt></b>)

  flags = widget.flags()
</pre></td></tr></table><p>set, unset and get the <tt class="classname">gtk.Object</tt> and
<tt class="classname">gtk.Widget</tt> flags. <i class="parameter"><tt>flags</tt></i> can be
any of the standard flags:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
  IN_DESTRUCTION
  FLOATING
  RESERVED_1
  RESERVED_2
  TOPLEVEL
  NO_WINDOW
  REALIZED
  MAPPED
  VISIBLE
  SENSITIVE
  PARENT_SENSITIVE
  CAN_FOCUS
  HAS_FOCUS
  CAN_DEFAULT
  HAS_DEFAULT
  HAS_GRAB
  RC_STYLE
  COMPOSITE_CHILD
  NO_REPARENT
  APP_PAINTABLE
  RECEIVES_DEFAULT
  DOUBLE_BUFFERED
</pre></td></tr></table><p>The method:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
  widget.grab_focus()
</pre></td></tr></table><p>allows a widget to grab the focus assuming that it has the
<tt class="literal">CAN_FOCUS</tt> flag set.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sec-GammaCurve.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sec-WidgetDisplayMethods.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">17.6. Gamma Curve </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 18.2. Widget Display Methods</td></tr></table></div></body></html>