diff options
Diffstat (limited to 'docs/reference/pygtk-gtk-constants.xml')
-rw-r--r-- | docs/reference/pygtk-gtk-constants.xml | 4188 |
1 files changed, 0 insertions, 4188 deletions
diff --git a/docs/reference/pygtk-gtk-constants.xml b/docs/reference/pygtk-gtk-constants.xml deleted file mode 100644 index 3db49cd2..00000000 --- a/docs/reference/pygtk-gtk-constants.xml +++ /dev/null @@ -1,4188 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> - -<refentry id="gtk-constants"> - <refnamediv> - <refname>gtk Constants</refname> - <refpurpose>the built-in constants of the gtk module</refpurpose> - </refnamediv> - - <refsect1> - <title>Synopsis</title> - - <programlisting> -<xref linkend="gtk-accel-flags-constants" endterm="gtk-accel-flags-constants-title"></xref> -<xref linkend="gtk-anchor-type-constants" endterm="gtk-anchor-type-constants-title"></xref> -<xref linkend="gtk-arrow-type-constants" endterm="gtk-arrow-type-constants-title"></xref> -<xref linkend="gtk-assistant-page-type-constants" endterm="gtk-assistant-page-type-constants-title"></xref> -<xref linkend="gtk-attach-options-constants" endterm="gtk-attach-options-constants-title"></xref> -<xref linkend="gtk-buttonbox-style-constants" endterm="gtk-buttonbox-style-constants-title"></xref> -<xref linkend="gtk-buttons-type-constants" endterm="gtk-buttons-type-constants-title"></xref> -<xref linkend="gtk-calendar-display-options-constants" endterm="gtk-calendar-display-options-constants-title"></xref> -<xref linkend="gtk-cellrenderer-mode-constants" endterm="gtk-cellrenderer-mode-constants-title"></xref> -<xref linkend="gtk-cellrenderer-state-constants" endterm="gtk-cellrenderer-state-constants-title"></xref> -<xref linkend="gtk-cellrendereraccel-mode-constants" endterm="gtk-cellrendereraccel-mode-constants-title"></xref> -<xref linkend="gtk-corner-type-constants" endterm="gtk-corner-type-constants-title"></xref> -<xref linkend="gtk-curve-type-constants" endterm="gtk-curve-type-constants-title"></xref> -<xref linkend="gtk-debug-flag-constants" endterm="gtk-debug-flag-constants-title"></xref> -<xref linkend="gtk-delete-type-constants" endterm="gtk-delete-type-constants-title"></xref> -<xref linkend="gtk-dest-defaults-constants" endterm="gtk-dest-defaults-constants-title"></xref> -<xref linkend="gtk-dialog-flag-constants" endterm="gtk-dialog-flag-constants-title"></xref> -<xref linkend="gtk-direction-type-constants" endterm="gtk-direction-type-constants-title"></xref> -<xref linkend="gtk-expander-style-constants" endterm="gtk-expander-style-constants-title"></xref> -<xref linkend="gtk-filechooser-action-constants" endterm="gtk-filechooser-action-constants-title"></xref> -<xref linkend="gtk-filechooser-confirmation-constants" endterm="gtk-filechooser-confirmation-constants-title"></xref> -<xref linkend="gtk-filechooser-error-constants" endterm="gtk-filechooser-error-constants-title"></xref> -<xref linkend="gtk-filefilter-flags-constants" endterm="gtk-filefilter-flags-constants-title"></xref> -<xref linkend="gtk-icon-lookup-flags-constants" endterm="gtk-icon-lookup-flags-constants-title"></xref> -<xref linkend="gtk-icon-size-constants" endterm="gtk-icon-size-constants-title"></xref> -<xref linkend="gtk-icontheme-error-constants" endterm="gtk-icontheme-error-constants-title"></xref> -<xref linkend="gtk-iconview-drop-position-constants" endterm="gtk-iconview-drop-position-constants-title"></xref> -<xref linkend="gtk-im-preedit-style-constants" endterm="gtk-im-preedit-style-constants-title"></xref> -<xref linkend="gtk-im-status-style-constants" endterm="gtk-im-status-style-constants-title"></xref> -<xref linkend="gtk-image-type-constants" endterm="gtk-image-type-constants-title"></xref> -<xref linkend="gtk-justification-constants" endterm="gtk-justification-constants-title"></xref> -<xref linkend="gtk-menu-direction-type-constants" endterm="gtk-menu-direction-type-constants-title"></xref> -<xref linkend="gtk-message-type-constants" endterm="gtk-message-type-constants-title"></xref> -<xref linkend="gtk-metric-type-constants" endterm="gtk-metric-type-constants-title"></xref> -<xref linkend="gtk-movement-step-constants" endterm="gtk-movement-step-constants-title"></xref> -<xref linkend="gtk-notebook-tab-constants" endterm="gtk-notebook-tab-constants-title"></xref> -<xref linkend="gtk-object-flags-constants" endterm="gtk-object-flags-constants-title"></xref> -<xref linkend="gtk-orientation-constants" endterm="gtk-orientation-constants-title"></xref> -<xref linkend="gtk-pack-direction-constants" endterm="gtk-pack-direction-constants-title"></xref> -<xref linkend="gtk-pack-type-constants" endterm="gtk-pack-type-constants-title"></xref> -<xref linkend="gtk-page-orientation-constants" endterm="gtk-page-orientation-constants-title"></xref> -<xref linkend="gtk-page-set-constants" endterm="gtk-page-set-constants-title"></xref> -<xref linkend="gtk-paper-name-constants" endterm="gtk-paper-name-constants-title"></xref> -<xref linkend="gtk-path-priority-type-constants" endterm="gtk-path-priority-type-constants-title"></xref> -<xref linkend="gtk-path-type-constants" endterm="gtk-path-type-constants-title"></xref> -<xref linkend="gtk-policy-type-constants" endterm="gtk-policy-type-constants-title"></xref> -<xref linkend="gtk-position-type-constants" endterm="gtk-position-type-constants-title"></xref> -<xref linkend="gtk-print-duplex-constants" endterm="gtk-print-duplex-constants-title"></xref> -<xref linkend="gtk-print-error-constants" endterm="gtk-print-error-constants-title"></xref> -<xref linkend="gtk-print-pages-constants" endterm="gtk-print-pages-constants-title"></xref> -<xref linkend="gtk-print-operation-action-constants" endterm="gtk-print-operation-action-constants-title"></xref> -<xref linkend="gtk-print-operation-result-constants" endterm="gtk-print-operation-result-constants-title"></xref> -<xref linkend="gtk-print-quality-constants" endterm="gtk-print-quality-constants-title"></xref> -<xref linkend="gtk-print-status-constants" endterm="gtk-print-status-constants-title"></xref> -<xref linkend="gtk-progressbar-orientation-constants" endterm="gtk-progressbar-orientation-constants-title"></xref> -<xref linkend="gtk-progressbar-style-constants" endterm="gtk-progressbar-style-constants-title"></xref> -<xref linkend="gtk-rc-flags-constants" endterm="gtk-rc-flags-constants-title"></xref> -<xref linkend="gtk-rc-token-type-constants" endterm="gtk-rc-token-type-constants-title"></xref> -<xref linkend="gtk-recent-chooser-error-constants" endterm="gtk-recent-chooser-error-constants-title"></xref> -<xref linkend="gtk-recent-filter-flags-constants" endterm="gtk-recent-filter-flags-constants-title"></xref> -<xref linkend="gtk-recent-sort-type-constants" endterm="gtk-recent-sort-type-constants-title"></xref> -<xref linkend="gtk-relief-style-constants" endterm="gtk-relief-style-constants-title"></xref> -<xref linkend="gtk-resize-mode-constants" endterm="gtk-resize-mode-constants-title"></xref> -<xref linkend="gtk-response-type-constants" endterm="gtk-response-type-constants-title"></xref> -<xref linkend="gtk-scroll-step-constants" endterm="gtk-scroll-step-constants-title"></xref> -<xref linkend="gtk-scroll-type-constants" endterm="gtk-scroll-type-constants-title"></xref> -<xref linkend="gtk-selection-mode-constants" endterm="gtk-selection-mode-constants-title"></xref> -<xref linkend="gtk-shadow-type-constants" endterm="gtk-shadow-type-constants-title"></xref> -<xref linkend="gtk-sizegroup-mode-constants" endterm="gtk-sizegroup-mode-constants-title"></xref> -<xref linkend="gtk-sort-type" endterm="gtk-sort-type-title"></xref> -<xref linkend="gtk-spinbutton-update-policy-constants" endterm="gtk-spinbutton-update-policy-constants-title"></xref> -<xref linkend="gtk-spin-type-constants" endterm="gtk-spin-type-constants-title"></xref> -<xref linkend="gtk-state-type-constants" endterm="gtk-state-type-constants-title"></xref> -<xref linkend="gtk-target-flags-constants" endterm="gtk-target-flags-constants-title"></xref> -<xref linkend="gtk-text-direction-constants" endterm="gtk-text-direction-constants-title"></xref> -<xref linkend="gtk-text-search-flags-constants" endterm="gtk-text-search-flags-constants-title"></xref> -<xref linkend="gtk-text-window-type-constants" endterm="gtk-text-window-type-constants-title"></xref> -<xref linkend="gtk-textbuffer-target-info-constants" endterm="gtk-textbuffer-target-info-constants-title"></xref> -<xref linkend="gtk-toolbar-space-style-constants" endterm="gtk-toolbar-space-style-constants-title"></xref> -<xref linkend="gtk-toolbar-style-constants" endterm="gtk-toolbar-style-constants-title"></xref> -<xref linkend="gtk-treemodel-flags-constants" endterm="gtk-treemodel-flags-constants-title"></xref> -<xref linkend="gtk-treeview-drop-position-constants" endterm="gtk-treeview-drop-position-constants-title"></xref> -<xref linkend="gtk-treeview-grid-lines-constants" endterm="gtk-treeview-grid-lines-constants-title"></xref> -<xref linkend="gtk-treeviewcolumn-sizing-constants" endterm="gtk-treeviewcolumn-sizing-constants-title"></xref> -<xref linkend="gtk-uimanager-item-type-constants" endterm="gtk-uimanager-item-type-constants-title"></xref> -<xref linkend="gtk-unit-constants" endterm="gtk-unit-constants-title"></xref> -<xref linkend="gtk-update-type-constants" endterm="gtk-update-type-constants-title"></xref> -<xref linkend="gtk-version-constants" endterm="gtk-version-constants-title"></xref> -<xref linkend="gtk-widget-flags-constants" endterm="gtk-widget-flags-constants-title"></xref> -<xref linkend="gtk-widget-help-type-constants" endterm="gtk-widget-help-type-constants-title"></xref> -<xref linkend="gtk-window-position-constants" endterm="gtk-window-position-constants-title"></xref> -<xref linkend="gtk-window-type-constants" endterm="gtk-window-type-constants-title"></xref> -<xref linkend="gtk-wrap-mode-constants" endterm="gtk-wrap-mode-constants-title"></xref> -</programlisting> - - </refsect1> - - <refsect1 id="gtk-constants-description"> - <title>Description</title> - - <refsect2 id="gtk-accel-flags-constants"> - <title id="gtk-accel-flags-constants-title">GTK Accel Flags Constants</title> - - <para>The Accel Flags constants are a set of bit-flags that specify -characteristics of the accelerator.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ACCEL_VISIBLE</literal></term> - <listitem> - <simpara>if set, the accelerator is visible in a label</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ACCEL_LOCKED</literal></term> - <listitem> - <simpara>If set the accelerator cannot be changed by the - user.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ACCEL_MASK</literal></term> - <listitem> - <simpara>A mask for the Accel Flags</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-anchor-type-constants"> - <title id="gtk-anchor-type-constants-title">GTK Anchor Type Constants</title> - - <para>The Anchor Type constants specify the anchor point of a - widget.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ANCHOR_CENTER</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_NORTH</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_NORTH_WEST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_NORTH_EAST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_SOUTH</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_SOUTH_WEST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_SOUTH_EAST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_WEST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_EAST,</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_N</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_NORTH</literal></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_NW</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_NORTH_WEST</literal></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_NE</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_NORTH_EAST</literal></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_S</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_SOUTH</literal></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_SW</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_SOUTH_WEST</literal></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_SE</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_SOUTH_EAST</literal></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_W</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_WEST</literal></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ANCHOR_E</literal></term> - <listitem> - <simpara>Same as <literal>gtk.ANCHOR_EAST</literal></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-arrow-type-constants"> - <title id="gtk-arrow-type-constants-title">GTK Arrow Type Constants</title> - - <para>The Arrow Type constants specify the direction a <link -linkend="class-gtkarrow"><classname>gtk.Arrow</classname></link> should -point.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ARROW_UP</literal></term> - <listitem> - <simpara>Represents an upward pointing arrow.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ARROW_DOWN</literal></term> - <listitem> - <simpara>Represents a downward pointing arrow.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ARROW_LEFT</literal></term> - <listitem> - <simpara>Represents a left pointing arrow.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ARROW_RIGHT</literal></term> - <listitem> - <simpara>Represents a right pointing arrow.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-assistant-page-type-constants"> - <title id="gtk-assistant-page-type-constants-title">GTK Assistant Page Type Constants</title> - - <para>The Assistant Page Type constants are used to determine the page - role inside the <link - linkend="class-gtkassistant"><classname>gtk.Assistant</classname></link>. It's - used to handle buttons sensitivity and visibility.</para> - - <note> - <para>An assistant needs to end its page flow with a page of type - <literal>gtk.ASSISTANT_PAGE_CONFIRM</literal> or - <literal>gtk.ASSISTANT_PAGE_SUMMARY</literal> to be correct.</para> - </note> - - <variablelist> - <varlistentry> - <term><literal>gtk.ASSISTANT_PAGE_CONTENT</literal></term> - <listitem> - <simpara>The page has regular contents.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ASSISTANT_PAGE_INTRO</literal></term> - <listitem> - <simpara>The page contains an introduction to the assistant - task.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ASSISTANT_PAGE_CONFIRM</literal></term> - <listitem> - <simpara>The page lets the user confirm or deny the - changes.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ASSISTANT_PAGE_SUMMARY</literal></term> - <listitem> - <simpara>The page informs the user of the changes done.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ASSISTANT_PAGE_PROGRESS</literal></term> - <listitem> - <simpara>Used for tasks that take a long time to complete, - blocks the assistant until the page is marked as - complete.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-attach-options-constants"> - <title id="gtk-attach-options-constants-title">GTK Attach Flag Options Constants</title> - - <para>The Attach Flag Options constants are a set of bit-flags that -specify the expansion properties that a widget will have when it (or its -parent) is resized.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.EXPAND</literal></term> - <listitem> - <simpara>The widget should expand to take up any extra space in -its container that has been allocated.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SHRINK</literal></term> - <listitem> - <simpara>The widget should shrink as and when -possible.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILL</literal></term> - <listitem> - <simpara>The widget should fill the space allocated to -it.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-buttonbox-style-constants"> - <title id="gtk-buttonbox-style-constants-title">GTK ButtonBox Style Constants</title> - - <para>The ButtonBox Style constants specify the style that a <link -linkend="class-gtkbuttonbox"><classname>gtk.ButtonBox</classname></link> -uses to layout the buttons it contains. (See also: <link -linkend="class-gtkvbuttonbox"><classname>gtk.VButtonBox</classname></link> -and <link -linkend="class-gtkhbuttonbox"><classname>gtk.HButtonBox</classname></link>).</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.BUTTONBOX_DEFAULT_STYLE</literal></term> - <listitem> - <simpara>Default packing.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONBOX_SPREAD</literal></term> - <listitem> - <simpara>Buttons are evenly spread across the ButtonBox.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONBOX_EDGE</literal></term> - <listitem> - <simpara>Buttons are placed at the edges of the - ButtonBox.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONBOX_START</literal></term> - <listitem> - <simpara>Buttons are grouped toward the start of box, (on the - left for a HBox, or the top for a VBox).</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONBOX_END</literal></term> - <listitem> - <simpara>Buttons are grouped toward the end of a box, (on the - right for a HBox, or the bottom for a VBox).</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-buttons-type-constants"> - <title id="gtk-buttons-type-constants-title">GTK Buttons Type Constants</title> - - <para>The Buttons Type constants specify the pre-defined sets of -buttons for the dialog. If none of these choices are appropriate, simply use -<literal>gtk.BUTTONS_NONE</literal> then call the <link -linkend="method-gtkdialog--add-buttons"><methodname>add_buttons</methodname>()</link> -method.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.BUTTONS_NONE</literal></term> - <listitem> - <simpara>no buttons at all</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONS_OK</literal></term> - <listitem> - <simpara>an OK button</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONS_CLOSE</literal></term> - <listitem> - <simpara>a Close button</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONS_CANCEL</literal></term> - <listitem> - <simpara>a Cancel button</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONS_YES_NO</literal></term> - <listitem> - <simpara>Yes and No buttons</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.BUTTONS_OK_CANCEL</literal></term> - <listitem> - <simpara>OK and Cancel buttons</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-calendar-display-options-constants"> - <title id="gtk-calendar-display-options-constants-title">GTK Calendar Display Options Constants</title> - - <para>The Calendar Display Options constants are a set of bit-flags -that specify the display and behavior of a <link -linkend="class-gtkcalendar"><classname>gtk.Calendar</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.CALENDAR_SHOW_HEADING</literal></term> - <listitem> - <simpara>Specifies that the month and year should be - displayed.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CALENDAR_SHOW_DAY_NAMES</literal></term> - <listitem> - <simpara>Specifies that three letter day descriptions should be - present.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CALENDAR_NO_MONTH_CHANGE</literal></term> - <listitem> - <simpara>Prevents the user from switching months with the - calendar.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CALENDAR_SHOW_WEEK_NUMBERS</literal></term> - <listitem> - <simpara>Displays each week numbers of the current year, down - the left side of the calendar.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CALENDAR_WEEK_START_MONDAY</literal></term> - <listitem> - <simpara>Since GTK+ 2.4, this option is deprecated and ignored - by GTK+. The information on which day the calendar week starts - is derived from the locale.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-cellrenderer-mode-constants"> - <title id="gtk-cellrenderer-mode-constants-title">GTK CellRenderer Mode Constants</title> - - <para>The CellRenderer Mode constants specify how the user can -interact with a particular cell.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_MODE_INERT</literal></term> - <listitem> - <simpara>The cell is just for display and cannot be interacted -with. Note that this doesn't mean that e.g. the row being drawn can't be -selected -- just that a particular element of it cannot be individually -modified.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_MODE_ACTIVATABLE</literal></term> - <listitem> - <simpara>The cell can be clicked.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_MODE_EDITABLE</literal></term> - <listitem> - <simpara>The cell can be edited or otherwise modified.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-cellrenderer-state-constants"> - <title id="gtk-cellrenderer-state-constants-title">GTK CellRenderer State Constants</title> - - <para>The CellRenderer State constants specify how a cell is to be -rendered.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_SELECTED</literal></term> - <listitem> - <simpara>The cell is currently selected, and probably has a - selection colored background to render to.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_PRELIT</literal></term> - <listitem> - <simpara>The mouse is hovering over the cell.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_INSENSITIVE</literal></term> - <listitem> - <simpara>The cell is drawn in an insensitive manner</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_SORTED</literal></term> - <listitem> - <simpara>The cell is in a sorted row</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_FOCUSED</literal></term> - <listitem> - <simpara>The cell has the focus.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-cellrendereraccel-mode-constants"> - <title id="gtk-cellrendereraccel-mode-constants-title">GTK CellRendererAccel Mode Constants</title> - - <para>The CellRendererAccel Mode constants specify if the edited - accelerators are GTK+ accelerators. If they are, consumed modifiers - are suppressed, only accelerators accepted by GTK+ are allowed, and - the accelerators are rendered in the same way as they are in - menus.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_ACCEL_MODE_GTK</literal></term> - <listitem> - <simpara>Only accelerators accepted by GTK+ are allowed.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CELL_RENDERER_ACCEL_MODE_OTHER</literal></term> - <listitem> - <simpara>Any accelerators are allowed.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-corner-type-constants"> - <title id="gtk-corner-type-constants-title">GTK Corner Type Constants</title> - - <para>The Corner Type constants specify the corner a child widget -should be placed in when packed into a <link -linkend="class-gtkscrolledwindow"><classname>gtk.ScrolledWindow</classname></link>. This -is effectively the opposite of where the scroll bars are placed.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.CORNER_TOP_LEFT</literal></term> - <listitem> - <simpara>Place the scrollbars on the right and bottom of the -widget (default behavior).</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CORNER_BOTTOM_LEFT</literal></term> - <listitem> - <simpara>Place the scrollbars on the top and right of the -widget.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CORNER_TOP_RIGHT</literal></term> - <listitem> - <simpara>Place the scrollbars on the left and bottom of the -widget.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CORNER_BOTTOM_RIGHT</literal></term> - <listitem> - <simpara>Place the scrollbars on the top and left of the -widget.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-curve-type-constants"> - <title id="gtk-curve-type-constants-title">GTK Curve Type Constants</title> - - <para>The Curve Type constants specify the type of curve to use for a -<link -linkend="class-gtkcurve"><classname>gtk.Curve</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.CURVE_TYPE_LINEAR</literal></term> - <listitem> - <simpara>Linear interpolation</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CURVE_TYPE_SPLINE</literal></term> - <listitem> - <simpara>Spline interpolation</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CURVE_TYPE_FREE</literal></term> - <listitem> - <simpara>Free form curve</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-debug-flag-constants"> - <title id="gtk-debug-flag-constants-title">GTK Debug Flag Constants</title> - - <para>The Debug Flag constants are a set of bit-flags that specify the -debug options.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.DEBUG_MISC</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEBUG_PLUGSOCKET</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEBUG_TEXT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEBUG_TREE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEBUG_UPDATES</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEBUG_KEYBINDINGS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEBUG_MULTIHEAD</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-delete-type-constants"> - <title id="gtk-delete-type-constants-title">GTK Delete Type Constants</title> - - <para>The Delete Type constants specify the deletion type.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.DELETE_CHARS</literal></term> - <listitem> - <simpara>Delete a character at the cursor</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DELETE_WORD_ENDS</literal></term> - <listitem> - <simpara>Delete from the cursor to the end of a word</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DELETE_WORDS</literal></term> - <listitem> - <simpara>Delete a number of words</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DELETE_DISPLAY_LINES</literal></term> - <listitem> - <simpara>Delete a single line at the cursor</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DELETE_DISPLAY_LINE_ENDS,</literal></term> - <listitem> - <simpara>Delete from the cursor to the end of the line.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DELETE_PARAGRAPH_ENDS</literal></term> - <listitem> - <simpara>Delete from the cursor to a paragraph end (usually to - the period)</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DELETE_PARAGRAPHS</literal></term> - <listitem> - <simpara>Delete several complete paragraphs at the cursor </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DELETE_WHITESPACE</literal></term> - <listitem> - <simpara>Delete the whitespace at the cursor.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-dest-defaults-constants"> - <title id="gtk-dest-defaults-constants-title">GTK Dest Defaults Constants</title> - - <para>The Dest Defaults constants are a set of bit-flags that specify -the various types of action that will be taken on behalf of the user for a -drag destination site.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.DEST_DEFAULT_MOTION</literal></term> - <listitem> - <simpara>If set for a widget, during a drag over this widget -will check if the drag matches this widget's list of possible targets and -actions. The <link -linkend="method-gdkdragcontext--drag-status"><methodname>gtk.gdk.DragContext.drag_status</methodname>()</link> -method will be called as appropriate.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEST_DEFAULT_HIGHLIGHT</literal></term> - <listitem> - <simpara> If set for a widget, draw a highlight on this widget -as long as a drag is over this widget and the widget drag format and action -are acceptable.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEST_DEFAULT_DROP</literal></term> - <listitem> - <simpara>If set for a widget, when a drop occurs, check if the -drag matches this widget's list of possible targets and actions. If so, call -the <link -linkend="method-gtkwidget--drag-get-data"><methodname>gtk.Widget.drag_get_data</methodname>()</link> -method on behalf of the widget. Whether or not the drop is successful, call -the <link -linkend="method-gdkdragcontext--finish"><methodname>gtk.gdk.DragContext.finish</methodname>()</link> -method. If the action was a move, then if the drag was successful, then -<literal>True</literal> will be passed for the delete parameter to the <link -linkend="method-gdkdragcontext--finish"><methodname>gtk.gdk.DragContext.finish</methodname>()</link> -method.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DEST_DEFAULT_ALL</literal></term> - <listitem> - <simpara>If set, specifies that all default actions should be -taken.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-dialog-flag-constants"> - <title id="gtk-dialog-flag-constants-title">GTK Dialog Flag Constants</title> - - <para>The Dialog Flag constants are a set of bit-flags that specify -characteristics of a dialog.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.DIALOG_MODAL</literal></term> - <listitem> - <simpara>If set, the dialog grabs all keyboard - events</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DIALOG_DESTROY_WITH_PARENT</literal></term> - <listitem> - <simpara>If set, the dialog is destroyed when its parent - is.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DIALOG_NO_SEPARATOR</literal></term> - <listitem> - <simpara>If set, there is no separator bar above the - buttons.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-direction-type-constants"> - <title id="gtk-direction-type-constants-title">GTK Direction Type Constants</title> - - <para>The Direction Type constants specify a direction for moving a -cursor or focus.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.DIR_TAB_FORWARD</literal></term> - <listitem> - <simpara>Tab forward.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DIR_TAB_BACKWARD</literal></term> - <listitem> - <simpara>Tab backward.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DIR_UP</literal></term> - <listitem> - <simpara>Up.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DIR_DOWN</literal></term> - <listitem> - <simpara>Down.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DIR_LEFT</literal></term> - <listitem> - <simpara>Left.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DIR_RIGHT</literal></term> - <listitem> - <simpara>Right.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-expander-style-constants"> - <title id="gtk-expander-style-constants-title">GTK Expander Style Constants</title> - - <para>The Expander Style constants specify the style of the expanders -drawn by a <link -linkend="class-gtktreeview"><classname>gtk.TreeView</classname></link></para> - - <variablelist> - <varlistentry> - <term><literal>gtk.EXPANDER_COLLAPSED</literal></term> - <listitem> - <simpara>The style used for a collapsed subtree.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.EXPANDER_SEMI_COLLAPSED</literal></term> - <listitem> - <simpara>Intermediate style used during animation.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.EXPANDER_SEMI_EXPANDED</literal></term> - <listitem> - <simpara>Intermediate style used during animation.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.EXPANDER_EXPANDED</literal></term> - <listitem> - <simpara>The style used for an expanded subtree.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-filechooser-action-constants"> - <title id="gtk-filechooser-action-constants-title">GTK FileChooser Action Constants</title> - - <para>The FileChooser Action constants specify the mode of a <link -linkend="class-gtkfilechooser"><classname>gtk.FileChooser</classname></link> -i.e. whether it is being used to open existing files or to save to a -possibly new file.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_ACTION_OPEN</literal></term> - <listitem> - <simpara>Indicates open mode. The file chooser will only let the - user pick an existing file.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_ACTION_SAVE</literal></term> - <listitem> - <simpara>Indicates save mode. The file chooser will let the user - pick an existing file, or type in a new filename.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER</literal></term> - <listitem> - <simpara>Indicates an Open mode for selecting folders. The file - chooser will let the user pick an existing folder.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER</literal></term> - <listitem> - <simpara>Indicates a mode for creating a new folder. The file - chooser will let the user name an existing or new - folder.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-filechooser-confirmation-constants"> - <title id="gtk-filechooser-confirmation-constants-title">GTK FileChooser Confirmation Constants</title> - - <note> - <para>These constants are available in PyGTK 2.8 and above.</para> - </note> - - <para>The FileChooser Confirmation constants are used to specify the -return value of a <link -linkend="class-gtkfilechooser"><classname>gtk.FileChooser</classname></link> -"<link -linkend="signal-gtkfilechooser--confirm-overwrite">confirm-overwrite</link>" -signal handler. This value determines whether the file chooser will present -the stock confirmation dialog, accept the user's choice of a filename, or -let the user choose another filename.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_CONFIRMATION_CONFIRM</literal></term> - <listitem> - <simpara>The file chooser will present its stock dialog to -confirm overwriting an existing file.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</literal></term> - <listitem> - <simpara>The file chooser will terminate and accept the user's -choice of a file name.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</literal></term> - <listitem> - <simpara>The file chooser will continue running, allowing -the user to select another file name.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-filechooser-error-constants"> - <title id="gtk-filechooser-error-constants-title">GTK FileChooser Error Constants</title> - - <para>The FileChooser Error constants specify the various errors that -can occur while calling <link -linkend="class-gtkfilechooser"><classname>gtk.FileChooser</classname></link> -functions.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_ERROR_NONEXISTENT</literal></term> - <listitem> - <simpara>Indicates that a file does not exist.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_CHOOSER_ERROR_BAD_FILENAME</literal></term> - <listitem> - <simpara>Indicates a malformed filename.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-filefilter-flags-constants"> - <title id="gtk-filefilter-flags-constants-title">GTK FileFilter Flags Constants</title> - - <para>The FileFilter Flags constants are a set of bit-flags that -specify the file types to filter the files against.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.FILE_FILTER_FILENAME</literal></term> - <listitem> - <simpara>The full pathname of the file e.g. /tmp/junk.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_FILTER_URI</literal></term> - <listitem> - <simpara>The full URI of the file - e.g. file:///tmp/junk.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_FILTER_DISPLAY_NAME</literal></term> - <listitem> - <simpara>The simple name of the file e.g. junk.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FILE_FILTER_MIME_TYPE</literal></term> - <listitem> - <simpara>The MIME type of the file e.g. text/html.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-icon-lookup-flags-constants"> - <title id="gtk-icon-lookup-flags-constants-title">GTK Icon Lookup Flags Constants</title> - - <para>The Icon Lookup Flags constants are a set of bit-flags that -specify options for the <link -linkend="method-gtkicontheme--lookup-icon"><methodname>gtk.IconTheme.lookup_icon</methodname>()</link> -method</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ICON_LOOKUP_NO_SVG</literal></term> - <listitem> - <simpara> Never return SVG (Scalable Vector Graphics) icons, -even if gdk-pixbuf supports them. Cannot be used together with -<literal>gtk.ICON_LOOKUP_FORCE_SVG</literal>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_LOOKUP_FORCE_SVG</literal></term> - <listitem> - <simpara>Return SVG icons, even if gdk-pixbuf doesn't support -them. Cannot be used together with -<literal>gtk.ICON_LOOKUP_NO_SVG</literal>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_LOOKUP_USE_BUILTIN</literal></term> - <listitem> - <simpara>When passed to the <link -linkend="method-gtkicontheme--lookup-icon"><methodname>gtk.IconTheme.lookup_icon</methodname>()</link> -method includes builtin icons as well as files. For a builtin icon, the -<link -linkend="method-gtkiconinfo--get-filename"><methodname>gtk.IconInfo.get_filename</methodname>()</link> -method returns <literal>None</literal> and you need to call the <link -linkend="method-gtkiconinfo--get-builtin-pixbuf"><methodname>gtk.IconInfo.get_builtin_pixbuf</methodname>()</link> -method.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-icon-size-constants"> - <title id="gtk-icon-size-constants-title">GTK Icon Size Constants</title> - - <para>The Icon Size constants specify the pre-defined sizes of icons -for various application uses.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ICON_SIZE_INVALID</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_SIZE_MENU</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_SIZE_SMALL_TOOLBAR</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_SIZE_LARGE_TOOLBAR</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_SIZE_BUTTON</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_SIZE_DND</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_SIZE_DIALOG</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-icontheme-error-constants"> - <title id="gtk-icontheme-error-constants-title">GTK IconTheme Error Constants</title> - - <para>The IconTheme Error constants specify error codes for <link -linkend="class-gtkicontheme"><classname>gtk.IconTheme</classname></link> -operations.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ICON_THEME_NOT_FOUND</literal></term> - <listitem> - <simpara>The icon specified does not exist in the - theme</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_THEME_FAILED</literal></term> - <listitem> - <simpara>An unspecified error occurred.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-iconview-drop-position-constants"> - <title id="gtk-iconview-drop-position-constants-title">GTK IconView Drop Position Constants</title> - - <para>The IconView Drop Position constants specify the location relative to the receiving item where the drop should take place.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ICON_VIEW_NO_DROP</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_VIEW_DROP_INTO</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_VIEW_DROP_LEFT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_VIEW_DROP_RIGHT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_VIEW_DROP_ABOVE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ICON_VIEW_DROP_BELOW</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-im-preedit-style-constants"> - <title id="gtk-im-preedit-style-constants-title">GTK IM Pre-edit Style Constants</title> - - <para>The IM Pre-edit Style constants specify the style of input method -pre-edit display.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.IM_PREEDIT_NOTHING</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IM_PREEDIT_CALLBACK</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IM_PREEDIT_NONE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-im-status-style-constants"> - <title id="gtk-im-status-style-constants-title">GTK IM Status Style Constants</title> - - <para>The IM Status Style constants specify the style of input method -display.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.IM_STATUS_NOTHING</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IM_STATUS_CALLBACK</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IM_STATUS_NONE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-image-type-constants"> - <title id="gtk-image-type-constants-title">GTK Image Type Constants</title> - - <para>The Image Type constants specify the type of image in a <link -linkend="class-gtkimage"><classname>gtk.Image</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.IMAGE_EMPTY</literal></term> - <listitem> - <simpara>There is no image displayed by the widget</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IMAGE_PIXMAP</literal></term> - <listitem> - <simpara>The widget contains a <link - linkend="class-gdkpixmap"><classname>gtk.gdk.Pixmap</classname></link></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IMAGE_IMAGE</literal></term> - <listitem> - <simpara>The widget contains a <link - linkend="class-gdkimage"><classname>gtk.gdk.Image</classname></link></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IMAGE_PIXBUF</literal></term> - <listitem> - <simpara>The widget contains a <link - linkend="class-gdkpixbuf"><classname>gtk.gdk.Pixbuf</classname></link></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IMAGE_STOCK</literal></term> - <listitem> - <simpara>The widget contains a stock icon name (see the <link - linkend="gtk-stock-items">Stock Items</link> reference)</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IMAGE_ICON_SET</literal></term> - <listitem> - <simpara>The widget contains a <link - linkend="class-gtkiconset"><classname>gtk.IconSet</classname></link></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.IMAGE_ANIMATION</literal></term> - <listitem> - <simpara>The widget contains a <link - linkend="class-gdkpixbufanimation"><classname>gtk.gdk.PixbufAnimation</classname></link></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-justification-constants"> - <title id="gtk-justification-constants-title">GTK Justification Constants</title> - - <para>The Justification constants specify the justification of the -text inside a <link -linkend="class-gtklabel"><classname>gtk.Label</classname></link> -widget. (See also <link -linkend="class-gtkalignment"><classname>gtk.Alignment</classname></link>).</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.JUSTIFY_LEFT</literal></term> - <listitem> - <simpara>The text is placed at the left edge of the - label.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.JUSTIFY_RIGHT</literal></term> - <listitem> - <simpara>The text is placed at the right edge of the - label.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.JUSTIFY_CENTER</literal></term> - <listitem> - <simpara>The text is placed in the center of the - label.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.JUSTIFY_FILL</literal></term> - <listitem> - <simpara>The text is placed is distributed across the - label.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-menu-direction-type-constants"> - <title id="gtk-menu-direction-type-constants-title">GTK Menu Direction Type Constants</title> - - <para>The Menu Direction Type constants specify directional movements -within a menu.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.MENU_DIR_PARENT</literal></term> - <listitem> - <simpara>To the parent menu shell.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MENU_DIR_CHILD</literal></term> - <listitem> - <simpara>To the submenu, if any, associated with the item.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MENU_DIR_NEXT</literal></term> - <listitem> - <simpara>To the next menu item.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MENU_DIR_PREV</literal></term> - <listitem> - <simpara>To the previous menu item.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-message-type-constants"> - <title id="gtk-message-type-constants-title">GTK Message Type Constants</title> - - <para>The Message Type constants specify the type of message being -displayed in the message dialog.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.MESSAGE_INFO</literal></term> - <listitem> - <simpara>Informational message</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MESSAGE_WARNING</literal></term> - <listitem> - <simpara>Nonfatal warning message</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MESSAGE_QUESTION</literal></term> - <listitem> - <simpara>Question requiring a choice</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MESSAGE_ERROR</literal></term> - <listitem> - <simpara>Fatal error message</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-metric-type-constants"> - <title id="gtk-metric-type-constants-title">GTK Metric Type Constants</title> - - <para>The Metric Type constants specify the metric used by a <link -linkend="class-gtkruler"><classname>gtk.Ruler</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PIXELS</literal></term> - <listitem> - <simpara>Pixels.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.INCHES</literal></term> - <listitem> - <simpara>Inches.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CENTIMETERS</literal></term> - <listitem> - <simpara>Centimeters.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-movement-step-constants"> - <title id="gtk-movement-step-constants-title">GTK Movement Step Constants</title> - - <para>The Movement Step constants specify the steps used in movement -through text.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.MOVEMENT_LOGICAL_POSITIONS</literal></term> - <listitem> - <simpara>move by graphemes</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_VISUAL_POSITIONS</literal></term> - <listitem> - <simpara>move by graphemes</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_WORDS</literal></term> - <listitem> - <simpara>move by words</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_DISPLAY_LINES</literal></term> - <listitem> - <simpara>move by lines(wrapped lines)</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_DISPLAY_LINE_ENDS</literal></term> - <listitem> - <simpara>move to line ends(wrapped lines)</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_PARAGRAPHS</literal></term> - <listitem> - <simpara>move by paragraphs(newline-ended lines)</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_PARAGRAPH_ENDS</literal></term> - <listitem> - <simpara>move to ends of a paragraph</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_PAGES</literal></term> - <listitem> - <simpara>move by pages</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MOVEMENT_BUFFER_ENDS</literal></term> - <listitem> - <simpara>move to ends of the buffer</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-notebook-tab-constants"> - <title id="gtk-notebook-tab-constants-title">GTK Notebook Tab Constants</title> - - <para>The Notebook Tab constants specify the tab position to receive -focus.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.NOTEBOOK_TAB_FIRST</literal></term> - <listitem> - <simpara>The first <link -linkend="class-gtknotebook"><classname>gtk.Notebook</classname></link> -tab</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.NOTEBOOK_TAB_LAST</literal></term> - <listitem> - <simpara>The last <link -linkend="class-gtknotebook"><classname>gtk.Notebook</classname></link> -tab</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-object-flags-constants"> - <title id="gtk-object-flags-constants-title">GTK Object Flags Constants</title> - - <para>The Object Flags constants are a set of bit-flags that specify -the state of the <link -linkend="class-gtkobject"><classname>gtk.Object</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.IN_DESTRUCTION</literal></term> - <listitem> - <simpara>The object is currently being destroyed. This is used - internally to prevent reinvocations during - destruction.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.FLOATING</literal></term> - <listitem> - <simpara>The object is orphaned.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-orientation-constants"> - <title id="gtk-orientation-constants-title">GTK Orientation Constants</title> - - <para>The Orientation constants specify the orientation of widgets -which can be switched between horizontal and vertical orientation on the -fly, like <link -linkend="class-gtktoolbar"><classname>gtk.Toolbar</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ORIENTATION_HORIZONTAL</literal></term> - <listitem> - <simpara>The widget is in horizontal orientation.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.ORIENTATION_VERTICAL</literal></term> - <listitem> - <simpara>The widget is in vertical orientation. </simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-pack-direction-constants"> - <title id="gtk-pack-direction-constants-title">GTK Pack Direction Constants</title> - - <para>The Pack Direction constants specify the arrangement of <link -linkend="class-gtkmenuitem"><classname>gtk.MenuItem</classname></link>s in a -<link linkend="class-gtkmenubar"><classname>gtk.MenuBar</classname></link> -or in a child <link -linkend="class-gtkmenuitem"><classname>gtk.MenuItem</classname></link> of a -menubar.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.ACK_DIRECTION_LTR</literal></term> - <listitem> - <simpara>Pack left to right</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PACK_DIRECTION_RTL</literal></term> - <listitem> - <simpara>Pack right to left</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PACK_DIRECTION_TTB</literal></term> - <listitem> - <simpara>Pack top to bottom</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PACK_DIRECTION_BTT</literal></term> - <listitem> - <simpara>Pack bottom to top</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-pack-type-constants"> - <title id="gtk-pack-type-constants-title">GTK Pack Type Constants</title> - - <para>The Pack Type constants specify the packing location <link -linkend="class-gtkbox"><classname>gtk.Box</classname></link> children. (See: -<link linkend="class-gtkvbox"><classname>gtk.VBox</classname></link>, <link -linkend="class-gtkhbox"><classname>gtk.HBox</classname></link>, and <link -linkend="class-gtkbuttonbox"><classname>gtk.ButtonBox</classname></link>).</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PACK_START</literal></term> - <listitem> - <simpara>The child is packed into the start of the box</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PACK_END</literal></term> - <listitem> - <simpara>The child is packed into the end of the box</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-page-orientation-constants"> - <title id="gtk-page-orientation-constants-title">GTK Page Orientation Constants</title> - - <para>The Page Orientation constants specify the orientation of a - page.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PAGE_ORIENTATION_PORTRAIT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAGE_ORIENTATION_LANDSCAPE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAGE_ORIENTATION_REVERSE_PORTRAIT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAGE_ORIENTATION_REVERSE_LANDSCAPE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-page-set-constants"> - <title id="gtk-page-set-constants-title">GTK Page Set Constants</title> - - <para>The Page Set constants specify the set of - pages to print.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PAGE_SET_ALL</literal></term> - <listitem> - <simpara>print all pages</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAGE_SET_EVEN</literal></term> - <listitem> - <simpara>print even pages only</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAGE_SET_ODD</literal></term> - <listitem> - <simpara>print odd pages only</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-paper-name-constants"> - <title id="gtk-paper-name-constants-title">GTK Papaer Name Constants</title> - - <para>The Paper Name constants specify the common standard sizes of - paper as a string.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PAPER_NAME_A3</literal></term> - <listitem> - <simpara>Name for the A4 paper size.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAPER_NAME_A4</literal></term> - <listitem> - <simpara>Name for the A4 paper size.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAPER_NAME_A5</literal></term> - <listitem> - <simpara>Name for the A5 paper size.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAPER_NAME_B5</literal></term> - <listitem> - <simpara>Name for the B5 paper size.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAPER_NAME_LETTER</literal></term> - <listitem> - <simpara>Name for the Letter paper size.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PAPER_NAME_EXECUTIVE</literal></term> - <listitem> - <simpara>Name for the Executive paper size.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.Name for the Legal paper size.</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-path-priority-type-constants"> - <title id="gtk-path-priority-type-constants-title">GTK Path Priority Type Constants</title> - - <para>The Path Priority Type constants are a set of bit-flags that -specify the priority of path lookup.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PATH_PRIO_LOWEST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PATH_PRIO_GTK</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PATH_PRIO_APPLICATION</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PATH_PRIO_THEME</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PATH_PRIO_RC</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PATH_PRIO_HIGHEST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-path-type-constants"> - <title id="gtk-path-type-constants-title">GTK Path Type Constants</title> - - <para>The Path Type constants specify </para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PATH_WIDGET</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PATH_WIDGET_CLASS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PATH_CLASS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-policy-type-constants"> - <title id="gtk-policy-type-constants-title">GTK Policy Type Constants</title> - - <para>The Policy Type constants specify when a scroll bar will be -visible.</para> - - <variablelist> - <varlistentry> - <term>gtk.POLICY_ALWAYS</term> - <listitem> - <simpara>the scrollbar is always present</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term>gtk.POLICY_AUTOMATIC</term> - <listitem> - <simpara>the scrollbar is present only if needed i.e. the -contents are larger than the window</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term>gtk.POLICY_NEVER</term> - <listitem> - <simpara>the scrollbar is never present</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-position-type-constants"> - <title id="gtk-position-type-constants-title">GTK Position Type Constants</title> - - <para>The Position Type constants specify </para> - - <variablelist> - <varlistentry> - <term><literal>gtk.POS_LEFT</literal></term> - <listitem> - <simpara>The feature is at the left edge.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.POS_RIGHT</literal></term> - <listitem> - <simpara>The feature is at the right edge.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.POS_TOP</literal></term> - <listitem> - <simpara>The feature is at the top edge.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.POS_BOTTOM</literal></term> - <listitem> - <simpara>The feature is at the bottom edge</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-print-duplex-constants"> - <title id="gtk-print-duplex-constants-title">GTK Print Duplex Constants</title> - - <para>The Print Status constants specify how the output pages should - be duplexed:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PRINT_DUPLEX_SIMPLEX</literal></term> - <listitem> - <simpara>one page per sheet i.e. no duplexing</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_DUPLEX_HORIZONTAL</literal></term> - <listitem> - <simpara>two pages per sheet horizontally duplexed</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_DUPLEX_VERTICAL</literal></term> - <listitem> - <simpara>two pages per sheet vertically duplexed</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-print-error-constants"> - <title id="gtk-print-error-constants-title">GTK Print Error Constants</title> - - <para>The Print Error constants specify the type of printing - error:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PRINT_ERROR_GENERAL</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_ERROR_INTERNAL_ERROR</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_ERROR_NOMEM</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-print-pages-constants"> - <title id="gtk-print-pages-constants-title">GTK Print Pages Constants</title> - - <para>The Print Pages constants specify the set that should be - printed:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PRINT_PAGES_ALL</literal></term> - <listitem> - <simpara>print all pages</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_PAGES_CURRENT</literal></term> - <listitem> - <simpara>print the current page</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_PAGES_RANGES</literal></term> - <listitem> - <simpara>print the specified ranges of pages</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-print-operation-action-constants"> - <title id="gtk-print-operation-action-constants-title">GTK Print Operation Action Constants</title> - - <para>The Print Operation Action constants specify the print operation - to be performed:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_ACTION_PRINT_DIALOG</literal></term> - <listitem> - <simpara>Show the print dialog.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_ACTION_PRINT</literal></term> - <listitem> - <simpara>Start to print without showing the print dialog, based - on the current print settings.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_ACTION_PREVIEW</literal></term> - <listitem> - <simpara>Show the print preview.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_ACTION_EXPORT</literal></term> - <listitem> - <simpara>Export to a file. This requires the "export-filename" - property to be set.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-print-operation-result-constants"> - <title id="gtk-print-operation-result-constants-title">GTK Print Operation Result Constants</title> - - <para>The Print Operation Result constants specify the result of the - print operation as returned by the <link - linkend="method-gtkprintoperation--run"><methodname>gtk.PrintOperation.run</methodname>()</link>) - method:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_RESULT_ERROR</literal></term> - <listitem> - <simpara>An error has occured.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_RESULT_APPLY</literal></term> - <listitem> - <simpara>The print settings should be stored.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_RESULT_CANCEL</literal></term> - <listitem> - <simpara>The print operation has been canceled, the print - settings should not be stored.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_OPERATION_RESULT_IN_PROGRESS</literal></term> - <listitem> - <simpara>The print operation is complete yet. This value will - only be returned when running asynchronously.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-print-quality-constants"> - <title id="gtk-print-quality-constants-title">GTK Print Quality Constants</title> - - <para>The Print Quality constants specify the quality that should be - used when printing the output pages:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PRINT_QUALITY_LOW</literal></term> - <listitem> - <simpara>low quality</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_QUALITY_NORMAL</literal></term> - <listitem> - <simpara>normal quality</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_QUALITY_HIGH</literal></term> - <listitem> - <simpara>high quality</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_QUALITY_DRAFT</literal></term> - <listitem> - <simpara>draft quality</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-print-status-constants"> - <title id="gtk-print-status-constants-title">GTK Print Status Constants</title> - - <para>The Print Status constants specify </para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_INITIAL</literal></term> - <listitem> - <simpara>The printing has not started yet; this status is set - initially, and while the print dialog is shown.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_PREPARING</literal></term> - <listitem> - <simpara>This status is set while the "begin-print" signal is - emitted and during pagination.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_GENERATING_DATA</literal></term> - <listitem> - <simpara>This status is set while the pages are being - rendered.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_SENDING_DATA</literal></term> - <listitem> - <simpara>The print job is being sent off to the - printer.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_PENDING</literal></term> - <listitem> - <simpara>The print job has been sent to the printer, but is not - printed for some reason, e.g. the printer may be - stopped.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_PENDING_ISSUE</literal></term> - <listitem> - <simpara>Some problem has occurred during printing, e.g. a paper - jam.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_PRINTING</literal></term> - <listitem> - <simpara>The printer is processing the print job.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_FINISHED</literal></term> - <listitem> - <simpara>The printing has been completed successfully.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PRINT_STATUS_FINISHED_ABORTED</literal></term> - <listitem> - <simpara>The printing has been aborted. </simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-progressbar-orientation-constants"> - <title id="gtk-progressbar-orientation-constants-title">GTK ProgressBar Orientation Constants</title> - - <para>The ProgressBar Orientation constants specify the orientation -and growth direction for a visible progress bar.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PROGRESS_LEFT_TO_RIGHT</literal></term> - <listitem> - <simpara>A horizontal progress bar growing from left to -right.</simpara> - </listitem> - </varlistentry> - - <varlistentry> - <term><literal>gtk.PROGRESS_RIGHT_TO_LEFT</literal></term> - <listitem> - <simpara>A horizontal progress bar growing from right to -left.</simpara> - </listitem> - </varlistentry> - - <varlistentry> - <term><literal>gtk.PROGRESS_BOTTOM_TO_TOP</literal></term> - <listitem> - <simpara>A vertical progress bar growing from bottom to -top.</simpara> - </listitem> - </varlistentry> - - <varlistentry> - <term><literal>gtk.PROGRESS_TOP_TO_BOTTOM</literal></term> - <listitem> - <simpara>A vertical progress bar growing from top to -bottom.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-progressbar-style-constants"> - <title id="gtk-progressbar-style-constants-title">GTK ProgressBar Style Constants</title> - - <para>The ProgressBar Style constants specify the style of the <link -linkend="class-gtkprogressbar"><classname>gtk.ProgressBar</classname></link> -display.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.PROGRESS_CONTINUOUS</literal></term> - <listitem> - <simpara>The progress bar grows in a smooth, continuous - manner.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PROGRESS_DISCRETE</literal></term> - <listitem> - <simpara>The progress bar grows in discrete, visible - blocks.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-rc-flags-constants"> - <title id="gtk-rc-flags-constants-title">GTK RC Flags Constants</title> - - <para>The>RC Flags constants are a set of bit-flags that specify which -fields of a <link -linkend="class-gtkrcstyle"><classname>gtk.RcStyle</classname></link> have -been set for each state.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.RC_FG</literal></term> - <listitem> - <simpara>If present, the foreground color has been set for this - state.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_BG</literal></term> - <listitem> - <simpara>If present, the background color has been set for this - state.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TEXT</literal></term> - <listitem> - <simpara>If present, the text color has been set for this - state.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_BASE</literal></term> - <listitem> - <simpara>If present, the base color has been set for this - state.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-rc-token-type-constants"> - <title id="gtk-rc-token-type-constants-title">GTK RC Token Type Constants</title> - - <para>The RC Token Type constants specify the tokens in the RC -file. It is exposed so that theme engines can reuse these tokens when -parsing the theme-engine specific portions of a RC file.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.RC_TOKEN_INVALID</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_INCLUDE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_NORMAL</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_ACTIVE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_PRELIGHT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_SELECTED</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_INSENSITIVE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_FG</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_BG</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_TEXT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_BASE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_XTHICKNESS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_YTHICKNESS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_FONT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_FONTSET</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_FONT_NAME</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_BG_PIXMAP</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_PIXMAP_PATH</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_STYLE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_BINDING</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_BIND</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_WIDGET</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_WIDGET_CLASS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_CLASS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_LOWEST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_GTK</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_APPLICATION</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_THEME</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_RC</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_HIGHEST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_ENGINE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_MODULE_PATH</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_IM_MODULE_PATH</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_IM_MODULE_FILE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_STOCK</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_LTR</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_RTL</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_TOKEN_LAST</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-recent-chooser-error-constants"> - <title id="gtk-recent-chooser-error-constants-title">GTK Recent Chooser Error Constants</title> - - <para>The Recent Recent Chooser Error constants specify the various - errors that can occur while calling <link - linkend="class-gtkrecentchooser"><classname>gtk.RecentChooser</classname></link> - methods:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.RECENT_CHOOSER_ERROR_NOT_FOUND</literal></term> - <listitem> - <simpara>Indicates that a file does not exist</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_CHOOSER_ERROR_INVALID_URI</literal></term> - <listitem> - <simpara>Indicates a malformed URI</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-recent-filter-flags-constants"> - <title id="gtk-recent-filter-flags-constants-title">GTK Recent Filter Flags</title> - - <para>The Recent Filter Flags specify what types of filtering are - needed:</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.RECENT_FILTER_URI</literal></term> - <listitem> - <simpara>the URI of the file being tested</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_FILTER_DISPLAY_NAME</literal></term> - <listitem> - <simpara>the string that will be used to display the file in the - recent chooser</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_FILTER_MIME_TYPE</literal></term> - <listitem> - <simpara>the mime type of the file</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_FILTER_APPLICATION</literal></term> - <listitem> - <simpara>the list of applications that have registered the - file</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_FILTER_GROUP</literal></term> - <listitem> - <simpara>the groups to which the file belongs</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_FILTER_AGE</literal></term> - <listitem> - <simpara>the number of days elapsed since the file has been - registered</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-recent-sort-type-constants"> - <title id="gtk-recent-sort-type-constants-title">GTK Recent Sort Type Constants</title> - - <para>The Recent Sort Type constants specify the sorting method to be - applyed to the recently used resource list.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.RECENT_SORT_NONE</literal></term> - <listitem> - <simpara>Do not sort the returned list of recently used - resources.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_SORT_MRU</literal></term> - <listitem> - <simpara>Sort the returned list with the most recently used - items first.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_SORT_LRU</literal></term> - <listitem> - <simpara>Sort the returned list with the least recently used - items first.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECENT_SORT_CUSTOM</literal></term> - <listitem> - <simpara>Sort the returned list using a custom sorting function - passed using the <link - linkend="method-gtkrecentchooser--set-sort-func"><methodname>gtk.RecentChooser.set_sort_func</methodname>()</link> - method.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-relief-style-constants"> - <title id="gtk-relief-style-constants-title">GTK Relief Style Constants</title> - - <para>The Relief Style constants specify </para> - - <variablelist> - <varlistentry> - <term><literal>gtk.RELIEF_NORMAL</literal></term> - <listitem> - <simpara>Draw a normal relief.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RELIEF_HALF</literal></term> - <listitem> - <simpara>Draw a half relief.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RELIEF_NONE</literal></term> - <listitem> - <simpara>Draw no relief.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-resize-mode-constants"> - <title id="gtk-resize-mode-constants-title">GTK Resize Mode Constants</title> - - <para>The Resize Mode constants specify how resize requests are -handled by a widget.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.RESIZE_PARENT</literal></term> - <listitem> - <simpara>Pass resize request to the parent</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RESIZE_QUEUE</literal></term> - <listitem> - <simpara>Queue resizes on this widget</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RESIZE_IMMEDIATE</literal></term> - <listitem> - <simpara>Perform the resizes now</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-response-type-constants"> - <title id="gtk-response-type-constants-title">GTK Response Type Constants</title> - - <para>The Response Type constants specify pre-defined response - values.</para> - - <variablelist> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_NONE</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_REJECT</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_ACCEPT</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_DELETE_EVENT</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_OK</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_CANCEL</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_CLOSE</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_YES</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_NO</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_APPLY</literal></simpara> - </listitem></varlistentry> - <varlistentry><listitem> - <simpara><literal>gtk.RESPONSE_HELP</literal></simpara> - </listitem></varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-scroll-step-constants"> - <title id="gtk-scroll-step-constants-title">GTK Scroll Step Constants</title> - - <para>The Scroll Step constants specify the size of the scroll -movements.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.SCROLL_STEPS</literal></term> - <listitem> - <simpara>Scroll up or down in step increments</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_PAGES,</literal></term> - <listitem> - <simpara>Scroll up or down in page increments</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_ENDS</literal></term> - <listitem> - <simpara>Scroll to the beginning or end</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_HORIZONTAL_STEPS</literal></term> - <listitem> - <simpara>Scroll left or right in step increments</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_HORIZONTAL_PAGES</literal></term> - <listitem> - <simpara>Scroll left or right in step increments</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_HORIZONTAL_ENDS</literal></term> - <listitem> - <simpara>Scroll to the far left end or far right end.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-scroll-type-constants"> - <title id="gtk-scroll-type-constants-title">GTK Scroll Type Constants</title> - - <para>The Scroll Type constants specify the type of scroll - \movement.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.SCROLL_NONE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_JUMP</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_STEP_BACKWARD</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_STEP_FORWARD</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_PAGE_BACKWARD</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_PAGE_FORWARD</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_STEP_UP</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_STEP_DOWN</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_PAGE_UP</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_PAGE_DOWN</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_STEP_LEFT,</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_STEP_RIGHT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_PAGE_LEFT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_PAGE_RIGHT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_START</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SCROLL_END</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-selection-mode-constants"> - <title id="gtk-selection-mode-constants-title">GTK Selection Mode Constants</title> - - <para>The Selection Mode constants specify the mode of <link - linkend="class-gtktreeselection"><classname>gtk.TreeSelection</classname></link> - in a <link - linkend="class-gtktreeview"><classname>gtk.Treeview</classname></link></para> - - <variablelist> - <varlistentry> - <term><literal>gtk.SELECTION_NONE</literal></term> - <listitem> - <simpara>No selection allowed.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SELECTION_SINGLE</literal></term> - <listitem> - <simpara>A single selection allowed by clicking.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SELECTION_BROWSE</literal></term> - <listitem> - <simpara>A single selection allowed by browsing with the -pointer.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SELECTION_MULTIPLE</literal></term> - <listitem> - <simpara>Multiple items can be selected at once.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SELECTION_EXTENDED</literal></term> - <listitem> - <simpara>Deprecated.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-shadow-type-constants"> - <title id="gtk-shadow-type-constants-title">GTK Shadow Type Constants</title> - - <para>The Shadow Type constants specify the appearance of an outline -typically provided by a <link -linkend="class-gtkframe"><classname>gtk.Frame</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.SHADOW_NONE</literal></term> - <listitem> - <simpara>No outline.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SHADOW_IN</literal></term> - <listitem> - <simpara>The outline is beveled inward.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SHADOW_OUT</literal></term> - <listitem> - <simpara>The outline is beveled outward like a button.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SHADOW_ETCHED_IN</literal></term> - <listitem> - <simpara>The outline itself is an inward bevel, but the frame - bevels outward</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SHADOW_ETCHED_OUT</literal></term> - <listitem> - <simpara>The outline itself is an outward bevel, but the frame - bevels inward</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-sizegroup-mode-constants"> - <title id="gtk-sizegroup-mode-constants-title">GTK SizeGroup Mode Constants</title> - - <para>The SizeGroup Mode constants specify the directions in which the -size group affects the requested sizes of its component widgets.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.SIZE_GROUP_NONE</literal></term> - <listitem> - <simpara>The group has no affect</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SIZE_GROUP_HORIZONTAL</literal></term> - <listitem> - <simpara>The group affects horizontal requisition</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SIZE_GROUP_VERTICAL</literal></term> - <listitem> - <simpara>The group affects vertical requisition</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SIZE_GROUP_BOTH</literal></term> - <listitem> - <simpara>The group affects both horizontal and vertical - requisition</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-sort-type"> - <title id="gtk-sort-type-title">GTK Sort Type Constants</title> - - <para>The Sort Type constants specify he direction of a sort.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.SORT_ASCENDING</literal></term> - <listitem> - <simpara>Sorting is in ascending order.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SORT_DESCENDING</literal></term> - <listitem> - <simpara>Sorting is in descending order.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-spinbutton-update-policy-constants"> - <title id="gtk-spinbutton-update-policy-constants-title">GTK SpinButton Update Policy Constants</title> - - <para>The SpinButton Update Policy constants specify the update policy -for a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.UPDATE_ALWAYS</literal></term> - <listitem> - <simpara>When refreshing a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link>, -the value is always displayed.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UPDATE_IF_VALID</literal></term> - <listitem> - <simpara>When refreshing a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link>, -the value is only displayed if it is valid within the bounds of the spin -button's <link -linkend="class-gtkadjustment"><classname>gtk.Adjustment</classname></link>.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-spin-type-constants"> - <title id="gtk-spin-type-constants-title">GTK Spin Type Constants</title> - - <para>The Spin Type constants specify the step movement of a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.SPIN_STEP_FORWARD</literal></term> - <listitem> - <simpara>Spin a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link> -forward by the step value of the spin button's <link -linkend="class-gtkadjustment"><classname>gtk.Adjustment</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SPIN_STEP_BACKWARD</literal></term> - <listitem> - <simpara>Spin a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link> -backward by the step value of the spin button's <link -linkend="class-gtkadjustment"><classname>gtk.Adjustment</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SPIN_PAGE_FORWARD</literal></term> - <listitem> - <simpara>Spin a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link> -forward by the page value of the spin button's <link -linkend="class-gtkadjustment"><classname>gtk.Adjustment</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SPIN_PAGE_BACKWARD</literal></term> - <listitem> - <simpara>Spin a <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link> -backward by the page value of the spin button's <link -linkend="class-gtkadjustment"><classname>gtk.Adjustment</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SPIN_HOME</literal></term> - <listitem> - <simpara>Set the spin button's value to the minimum possible -value specified by its <link -linkend="class-gtkadjustment"><classname>gtk.Adjustment</classname></link></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SPIN_END</literal></term> - <listitem> - <simpara>Set the spin button's value to the maximum possible -value specified by its <link -linkend="class-gtkadjustment"><classname>gtk.Adjustment</classname></link></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SPIN_USER_DEFINED</literal></term> - <listitem> - <simpara>The programmer must specify the exact amount to spin -the <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link>.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-state-type-constants"> - <title id="gtk-state-type-constants-title">GTK State Type Constants</title> - - <para>The State Type constants specify the current state of a widget; -the state determines how the widget is drawn. The State Type constants are -also used to identify different colors in a <link -linkend="class-gtkstyle"><classname>gtk.Style</classname></link> for -drawing, so states can be used for subparts of a widget as well as entire -widgets.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.STATE_NORMAL</literal></term> - <listitem> - <simpara>State during normal operation.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.STATE_ACTIVE</literal></term> - <listitem> - <simpara>State of a currently active widget, such as a depressed - button.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.STATE_PRELIGHT</literal></term> - <listitem> - <simpara>State indicating that the mouse pointer is over the - widget and the widget will respond to mouse clicks.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.STATE_SELECTED</literal></term> - <listitem> - <simpara>State of a selected item, such the selected row in a - list.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.STATE_INSENSITIVE</literal></term> - <listitem> - <simpara>State indicating that the widget is unresponsive to - user actions.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-target-flags-constants"> - <title id="gtk-target-flags-constants-title">GTK Target Flags Constants</title> - - <para>The Target Flags constants are a set of bit-flags that specify -constraints on the target of a drag operation.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TARGET_SAME_APP</literal></term> - <listitem> - <simpara> If this is set, the target will only be selected for -drags within a single application.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TARGET_SAME_WIDGET</literal></term> - <listitem> - <simpara>f this is set, the target will only be selected for -drags within a single widget.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-text-direction-constants"> - <title id="gtk-text-direction-constants-title">GTK Text Direction Constants</title> - - <para>The Text Direction constants specify the direction of the -text.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TEXT_DIR_NONE</literal></term> - <listitem> - <simpara>Text direction not specified.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_DIR_LTR,</literal></term> - <listitem> - <simpara>Left to right direction.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_DIR_RTL</literal></term> - <listitem> - <simpara>Right to left direction</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-text-search-flags-constants"> - <title id="gtk-text-search-flags-constants-title">GTK Text Search Flags Constants Constants</title> - - <para>The Text Search Flags constants are a set of bit-flags that specify what types of text are -suitable for search matches in a <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TEXT_SEARCH_VISIBLE_ONLY</literal></term> - <listitem> - <simpara>Only visible text can match the search - criteria.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_SEARCH_TEXT_ONLY</literal></term> - <listitem> - <simpara>Both visible and invisible text can match the search - criteria.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-text-window-type-constants"> - <title id="gtk-text-window-type-constants-title">GTK Text Window Type Constants</title> - - <para>The Text Window Type constants specify the <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link> -objects that make up a <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>. See -the <link -linkend="method-gtktextview--get-window"><methodname>gtk.TextView.get_window</methodname>()</link> -method for more detail.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TEXT_WINDOW_WIDGET</literal></term> - <listitem> - <simpara>The <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link> of -the <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link> -widget.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_WINDOW_TEXT</literal></term> - <listitem> - <simpara>The <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link> that -contains the text in the <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_WINDOW_LEFT</literal></term> - <listitem> - <simpara>The left child <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link> of -the <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_WINDOW_RIGHT</literal></term> - <listitem> - <simpara>The right child <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link> of -the <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_WINDOW_TOP</literal></term> - <listitem> - <simpara>The top child <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link> of -the <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_WINDOW_BOTTOM</literal></term> - <listitem> - <simpara>The bottom child <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link> of -the <link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-textbuffer-target-info-constants"> - <title id="gtk-textbuffer-target-info-constants-title">GTK TextBuffer Target Info Constants</title> - - <para>The TextBuffer Target Info constants specify the info integer - for use with the <link - linkend="function-gtk--target-list-add-rich-text-targets"><function>gtk.target_list_add_rich_text_targets</function>()</link> - and <link - linkend="function-gtk--target-list-add-text-targets"><function>gtk.target_list_add_text_targets</function>()</link> - functions.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_BUFFER_TARGET_INFO_RICH_TEXT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TEXT_BUFFER_TARGET_INFO_TEXT</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-toolbar-space-style-constants"> - <title id="gtk-toolbar-space-style-constants-title">GTK Toolbar Space Style Constants</title> - - <para>The Toolbar Space Style constants specify whether a spacer is -displayed as a vertical line or space.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TOOLBAR_SPACE_EMPTY,</literal></term> - <listitem> - <simpara>Show as an empty space</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TOOLBAR_SPACE_LINE</literal></term> - <listitem> - <simpara>Show as a vertical line.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-toolbar-style-constants"> - <title id="gtk-toolbar-style-constants-title">GTK Toolbar Style Constants</title> - - <para>The Toolbar Style constants specify the appearance of a <link -linkend="class-gtktoolbar"><classname>gtk.Toolbar</classname></link>. Note -that setting the toolbar style overrides the user's preferences for the -default toolbar style.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TOOLBAR_ICONS</literal></term> - <listitem> - <simpara>Buttons display only icons in the toolbar.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TOOLBAR_TEXT</literal></term> - <listitem> - <simpara>Buttons display only text labels in the - toolbar.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TOOLBAR_BOTH</literal></term> - <listitem> - <simpara>Buttons display text and icons in the - toolbar.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TOOLBAR_BOTH_HORIZ</literal></term> - <listitem> - <simpara>Buttons display icons and text alongside each other, - rather than vertically stacked</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-treemodel-flags-constants"> - <title id="gtk-treemodel-flags-constants-title">GTK TreeModel Flags Constants</title> - - <para>The TreeModel Flags constants are a set of bit-flags that -specify various properties of a <link -linkend="class-gtktreemodel"><classname>gtk.TreeModel</classname></link>. They -are returned by the <link -linkend="method-gtktreemodel--get-flags"><methodname>gtk.TreeModel.get_flags</methodname>()</link> -method, and must be static for the lifetime of the object. A more complete -description of <literal>gtk.TREE_MODEL_ITERS_PERSIST</literal> can be found -in the <link -linkend="class-gtktreeview"><classname>gtk.TreeView</classname></link> -reference description.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TREE_MODEL_ITERS_PERSIST</literal></term> - <listitem> - <simpara>Iterators survive all signals emitted by the - tree.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_MODEL_LIST_ONLY</literal></term> - <listitem> - <simpara>The model is a list only, and never has - children</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-treeview-drop-position-constants"> - <title id="gtk-treeview-drop-position-constants-title">GTK TreeView Drop Position Constants</title> - - <para>The TreeView Drop Position constants specify where a dropped row -goes.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TREE_VIEW_DROP_BEFORE</literal></term> - <listitem> - <simpara>The dropped item goes before the row it's dropped -on.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_DROP_AFTER</literal></term> - <listitem> - <simpara>The dropped item goes after the row it's dropped -on.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_DROP_INTO_OR_BEFORE</literal></term> - <listitem> - <simpara>The dropped item becomes a child of the row it's dropped -on. Fallback to goes before.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_DROP_INTO_OR_AFTER</literal></term> - <listitem> - <simpara>The dropped item becomes a child of the row it's dropped -on. Fallback to goes after.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-treeview-grid-lines-constants"> - <title id="gtk-treeview-grid-lines-constants-title">GTK TreeView Grid Lines Constants</title> - - <para>The TreeView Grid Lines constants specify how grid lines should be applied to a TreeView.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TREE_VIEW_GRID_LINES_NONE</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_GRID_LINES_HORIZONTAL</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_GRID_LINES_VERTICAL</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_GRID_LINES_BOTH</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-treeviewcolumn-sizing-constants"> - <title id="gtk-treeviewcolumn-sizing-constants-title">GTK TreeViewColumn Sizing Constants</title> - - <para>The TreeViewColumn Sizing constants specify the sizing method the -column uses to determine its width. Please note that -<literal>gtk.TREE_VIEW_COLUMN_AUTOSIZE</literal> are inefficient for large -views, and can make columns appear choppy.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TREE_VIEW_COLUMN_GROW_ONLY</literal></term> - <listitem> - <simpara>Columns only get bigger in reaction to changes in the - model</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_COLUMN_AUTOSIZE</literal></term> - <listitem> - <simpara>Columns resize to be the optimal size every time the - model changes.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.TREE_VIEW_COLUMN_FIXED</literal></term> - <listitem> - <simpara>Columns are a fixed numbers of pixels wide.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-uimanager-item-type-constants"> - <title id="gtk-uimanager-item-type-constants-title">GTK UIManager Item Type Constants</title> - - <para>The UIManager Item Type constants specify what UI element to -create.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.UI_MANAGER_AUTO</literal></term> - <listitem> - <simpara>Pick the type of the UI element according to - context.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_MENUBAR</literal></term> - <listitem> - <simpara>Create a menubar. </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_MENU</literal></term> - <listitem> - <simpara>Create a menu.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_TOOLBAR</literal></term> - <listitem> - <simpara>Create a toolbar.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_PLACEHOLDER</literal></term> - <listitem> - <simpara>Insert a placeholder.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_POPUP</literal></term> - <listitem> - <simpara>Create a popup menu.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_MENUITEM</literal></term> - <listitem> - <simpara>Create a menuitem.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_TOOLITEM</literal></term> - <listitem> - <simpara>Create a toolitem.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_SEPARATOR</literal></term> - <listitem> - <simpara>Create a separator.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UI_MANAGER_ACCELERATOR</literal></term> - <listitem> - <simpara>Install an accelerator.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-unit-constants"> - <title id="gtk-unit-constants-title">GTK Unit Constants</title> - - <para>The Unit constants specify the </para> - - <variablelist> - <varlistentry> - <term><literal>gtk.UNIT_PIXEL</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UNIT_POINTS</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UNIT_INCH</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UNIT_MM</literal></term> - <listitem> - <simpara></simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-update-type-constants"> - <title id="gtk-update-type-constants-title">GTK Update Type Constants</title> - - <para>The Update Type constants specify the update policy of a <link -linkend="class-gtkrange"><classname>gtk.Range</classname></link> and <link -linkend="class-gtkspinbutton"><classname>gtk.SpinButton</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.UPDATE_CONTINUOUS</literal></term> - <listitem> - <simpara>Update the display continuously as the pointer is - moved.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UPDATE_DISCONTINUOUS</literal></term> - <listitem> - <simpara>Update the display at intervals while the pointer is - being moved.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.UPDATE_DELAYED</literal></term> - <listitem> - <simpara>Update the display after the pointer has finished - moving.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-version-constants"> - <title id="gtk-version-constants-title">GTK Version Constants</title> - - <para>The Version constants specify the versions of -<literal>GTK+</literal> and <literal>PyGTK</literal> as a 3-tuple containing -the major, minor and patch release numbers.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.gtk_version</literal></term> - <listitem> - <simpara>A 3-tuple containing the <literal>GTK+</literal> - (major, minor, patch) release numbers.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.pygtk_version</literal></term> - <listitem> - <simpara>A 3-tuple containing the <literal>PyGTK</literal> - (major, minor, patch) release numbers.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-widget-flags-constants"> - <title id="gtk-widget-flags-constants-title">GTK Widget Flags Constants</title> - - <para>The Widget Flags constants are a set of bit-flags that specify -certain properties of the widget.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.TOPLEVEL</literal></term> - <listitem> - <simpara>Widgets without a real parent, as there are <link -linkend="class-gtkwindow"><classname>gtk.Window</classname></link> and <link -linkend="class-gtkmenu"><classname>gtk.Menu</classname></link> objects that -have this flag set throughout their lifetime. Toplevel widgets always -contain their own <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.NO_WINDOW</literal></term> - <listitem> - <simpara> Indicative for a widget that does not provide its own -<link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link>. Visible -action (e.g. drawing) is performed on the parent's <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.REALIZED</literal></term> - <listitem> - <simpara>Set by the <link -linkend="method-gtkwidget--realize"><methodname>gtk.Widget.realize</methodname>()</link> -method , unset by the <link -linkend="method-gtkwidget--unrealize"><methodname>gtk.Widget.unrealize</methodname>()</link> -method. A realized widget has an associated <link -linkend="class-gdkwindow"><classname>gtk.gdk.Window</classname></link>.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.MAPPED</literal></term> - <listitem> - <simpara> Set by the <link -linkend="method-gtkwidget--map"><methodname>gtk.Widget.map</methodname>()</link> -method, unset by the <link -linkend="method-gtkwidget--unmap"><methodname>gtk.Widget.unmap</methodname>()</link> -method. Only realized widgets can be mapped. It means that the <link -linkend="method-gdkwindow--show"><methodname>gtk.Window.show</methodname>()</link> -method has been called on the widgets window(s).</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.VISIBLE</literal></term> - <listitem> - <simpara>Set by the <link -linkend="method-gtkwidget--show"><methodname>gtk.Widget.show</methodname>()</link> -method, unset by the <link -linkend="method-gtkwidget--hide"><methodname>gtk.Widget.hide</methodname>()</link> -method. Implies that a widget will be mapped as soon as its parent is -mapped.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.SENSITIVE</literal></term> - <listitem> - <simpara>Set and unset by the <link -linkend="method-gtkwidget--set-sensitive"><methodname>gtk.Widget.set_sensitive</methodname>()</link> -method. The sensitivity of a widget determines whether it will receive -certain events (e.g. button or key presses). One premise for the widgets -sensitivity is to have this flag set.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.PARENT_SENSITIVE</literal></term> - <listitem> - <simpara>Set and unset by the <link -linkend="method-gtkwidget--set-sensitive"><methodname>gtk.Widget.set_sensitive</methodname>()</link> -method operations on the parents of the widget. This is the second premise -for the widgets sensitivity. Once it has <literal>gtk.SENSITIVE</literal> -and <literal>gtk.PARENT_SENSITIVE</literal> set, its state is effectively -sensitive.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CAN_FOCUS</literal></term> - <listitem> - <simpara>Determines if a widget is able to handle focus - grabs.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.HAS_FOCUS</literal></term> - <listitem> - <simpara>Set by the <link -linkend="method-gtkwidget--grab-focus"><methodname>gtk.Widget.grab_focus</methodname>()</link> -method for widgets that also have <literal>gtk.CAN_FOCUS</literal> set. The -flag will be unset once another widget grabs the focus.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.CAN_DEFAULT</literal></term> - <listitem> - <simpara>The widget is allowed to receive the default action via -the <link -linkend="method-gtkwidget--grab-default"><methodname>gtk.Widget.grab_default</methodname>()</link> -method.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.HAS_DEFAULT</literal></term> - <listitem> - <simpara>The widget currently is receiving the default - action.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.HAS_GRAB</literal></term> - <listitem> - <simpara>Set by the <link -linkend="method-gtkwidget--grab-add"><methodname>gtk.Widget.grab_add</methodname>()</link> -method, unset by the <link -linkend="method-gtkwidget--grab-remove"><methodname>gtk.Widget.grab_remove</methodname>()</link> -method. It means that the widget is in the grab_widgets stack, and will be -the preferred one for receiving events other than ones of cosmetic -value.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RC_STYLE</literal></term> - <listitem> - <simpara> Indicates that the widgets style has been looked up -through the rc mechanism. It does not imply that the widget actually had a -style defined through the rc mechanism.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.COMPOSITE_CHILD</literal></term> - <listitem> - <simpara>Indicates that the widget is a composite child of its -parent; see the <link -linkend="function-gtk--widget-push-composite-child"><function>gtk.widget_push_composite_child</function>()</link> -and <link -linkend="function-gtk--widget-pop-composite-child"><function>gtk.widget_pop_composite_child</function>()</link> -functions.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.NO_REPARENT</literal></term> - <listitem> - <simpara>Unused.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.APP_PAINTABLE</literal></term> - <listitem> - <simpara>Set and unset by the <link -linkend="method-gtkwidget--set-app-paintable"><methodname>gtk.Widget.set_app_paintable</methodname>()</link> -method. Must be set on widgets whose window the application directly draws -on, in order to keep PyGTK and GTK+ from overwriting the drawn -stuff.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.RECEIVES_DEFAULT</literal></term> - <listitem> - <simpara>The widget when focused will receive the default action -and have <literal>gtk.HAS_DEFAULT</literal> set even if there is a different -widget set as default.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.DOUBLE_BUFFERED</literal></term> - <listitem> - <simpara>Set and unset by the <link -linkend="method-gtkwidget--set-double-buffered"><methodname>gtk.Widget.set_double_buffered</methodname>()</link> -method. Indicates that exposes done on the widget should be -double-buffered.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.NO_SHOW_ALL</literal></term> - <listitem> - <simpara>If <literal>True</literal>, the <link -linkend="method-gtkwidget--show-all"><methodname>show_all</methodname>()</link> -and <link -linkend="method-gtkwidget--hide-all"><methodname>hide_all</methodname>()</link> -methods do not affect the widget.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-widget-help-type-constants"> - <title id="gtk-widget-help-type-constants-title">GTK Widget Help Type Constants</title> - - <para>The Widget Help Type constants specify the help type of the -widget.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.WIDGET_HELP_TOOLTIP</literal></term> - <listitem> - <simpara>Tooltip help.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WIDGET_HELP_WHATS_THIS</literal></term> - <listitem> - <simpara>What's this help.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-window-position-constants"> - <title id="gtk-window-position-constants-title">GTK Window Position Constants</title> - - <para>The Window Position constants specify hints for initial window -placement.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.WIN_POS_NONE</literal></term> - <listitem> - <simpara>No influence is made on placement.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WIN_POS_CENTER</literal></term> - <listitem> - <simpara>Windows should be placed in the center of the screen.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WIN_POS_MOUSE</literal></term> - <listitem> - <simpara>Windows should be placed at the current mouse position.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WIN_POS_CENTER_ALWAYS</literal></term> - <listitem> - <simpara>Keep window centered as it changes size, etc.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WIN_POS_CENTER_ON_PARENT</literal></term> - <listitem> - <simpara>Center the window on its transient parent (see the - <link - linkend="method-gtkwindow--set-transient-for"><methodname>gtk.Window.set_transient_for</methodname>()</link>) - method.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-window-type-constants"> - <title id="gtk-window-type-constants-title">GTK Window Type Constants</title> - - <para>The Window Type constants specify the type of a <link -linkend="class-gtkwindow"><classname>gtk.Window</classname></link>. Most -things you'd consider a "window" should have type -<literal>gtk.WINDOW_TOPLEVEL</literal>; windows with this type are managed -by the window manager and have a frame by default (call the <link -linkend="method-gtkwindow--set-decorated"><methodname>set_decorated</methodname>()</link> -method to toggle the frame). Windows with type -<literal>gtk.WINDOW_POPUP</literal> are ignored by the window manager; -window manager keybindings won't work on them, the window manager won't -decorate the window with a frame, many GTK+ features that rely on the window -manager will not work (e.g. resize grips and -maximization/minimization). <literal>gtk.WINDOW_POPUP</literal> is used to -implement widgets such as <link -linkend="class-gtkmenu"><classname>gtk.Menu</classname></link> or tooltips -that you normally don't think of as windows per se. Nearly all windows -should be <literal>gtk.WINDOW_TOPLEVEL</literal>. In particular, do not use -<literal>gtk.WINDOW_POPUP</literal> just to turn off the window borders; use -the <link -linkend="method-gtkwindow--set-decorated"><methodname>gtk.Window.set_decorated</methodname>()</link> -method for that.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.WINDOW_TOPLEVEL</literal></term> - <listitem> - <simpara>A regular window, such as a dialog.</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WINDOW_POPUP</literal></term> - <listitem> - <simpara>A special window such as a tooltip.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - <refsect2 id="gtk-wrap-mode-constants"> - <title id="gtk-wrap-mode-constants-title">GTK Wrap Mode Constants</title> - - <para>The Wrap Mode constants specify the type of line wrapping in a -<link -linkend="class-gtktextview"><classname>gtk.TextView</classname></link>.</para> - - <variablelist> - <varlistentry> - <term><literal>gtk.WRAP_NONE</literal></term> - <listitem> - <simpara>Do not wrap lines - just make the text area -wider</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WRAP_CHAR</literal></term> - <listitem> - <simpara>Wrap text, breaking lines anywhere the cursor can -appear (usually between characters)</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WRAP_WORD</literal></term> - <listitem> - <simpara>Wrap text, breaking lines in between words</simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><literal>gtk.WRAP_WORD_CHAR</literal></term> - <listitem> - <simpara>Wrap text, breaking lines in between words, or if that -is not enough, also between graphemes.</simpara> - </listitem> - </varlistentry> - </variablelist> - - </refsect2> - - </refsect1> - -</refentry> |