~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-gdkwindow.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.gdk.Window</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gdk-class-reference.html" title="The gtk.gdk Class Reference"><link rel="prev" href="class-gdkvisual.html" title="gtk.gdk.Visual"><link rel="next" href="gdk-functions.html" title="gtk.gdk Functions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.gdk.Window</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gdkvisual.html">Prev</a> </td><th width="60%" align="center">The gtk.gdk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="gdk-functions.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gdkwindow"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.gdk.Window</h2><p>gtk.gdk.Window — on-screen display areas in the target window
2
 
system</p></div><div class="refsect1" lang="en"><a name="id3130591"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.gdk.Window</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gdkdrawable.html" title="gtk.gdk.Drawable">gtk.gdk.Drawable</a></span></span>):
 
2
system</p></div><div class="refsect1" lang="en"><a name="id3330845"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.gdk.Window</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gdkdrawable.html" title="gtk.gdk.Drawable">gtk.gdk.Drawable</a></span></span>):
3
3
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gdkwindow.html#constructor-gdkwindow" title="Constructor">gtk.gdk.Window</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>width</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window_type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>event_mask</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>wclass</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>visual</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>colormap</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>cursor</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>wmclass_name</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>wmclass_class</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>override_redirect</code></strong></span><span class="initializer">=-1</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--drag-begin" title="gtk.gdk.Window.drag_begin">drag_begin</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>targets</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--input-set-extension-events" title="gtk.gdk.Window.input_set_extension_events">input_set_extension_events</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>mask</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>mode</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--property-get" title="gtk.gdk.Window.property_get">property_get</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>property</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>pdelete</code></strong></span><span class="initializer">=False</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--property-change" title="gtk.gdk.Window.property_change">property_change</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>property</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>format</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>mode</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--property-delete" title="gtk.gdk.Window.property_delete">property_delete</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>property</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--selection-convert" title="gtk.gdk.Window.selection_convert">selection_convert</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>selection</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>target</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>time</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-keep-above" title="gtk.gdk.Window.set_keep_above">set_keep_above</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-keep-below" title="gtk.gdk.Window.set_keep_below">set_keep_below</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--destroy" title="gtk.gdk.Window.destroy">destroy</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-window-type" title="gtk.gdk.Window.get_window_type">get_window_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--show" title="gtk.gdk.Window.show">show</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--hide" title="gtk.gdk.Window.hide">hide</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--withdraw" title="gtk.gdk.Window.withdraw">withdraw</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--move" title="gtk.gdk.Window.move">move</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--resize" title="gtk.gdk.Window.resize">resize</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>width</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--move-resize" title="gtk.gdk.Window.move_resize">move_resize</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>width</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--reparent" title="gtk.gdk.Window.reparent">reparent</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>new_parent</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--clear" title="gtk.gdk.Window.clear">clear</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--clear-area" title="gtk.gdk.Window.clear_area">clear_area</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>width</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--clear-area-e" title="gtk.gdk.Window.clear_area_e">clear_area_e</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>width</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--raise_" title="gtk.gdk.Window.raise_">raise_</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--lower" title="gtk.gdk.Window.lower">lower</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--focus" title="gtk.gdk.Window.focus">focus</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>timestamp</code></strong></span><span class="initializer">=0L</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-user-data" title="gtk.gdk.Window.set_user_data">set_user_data</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-user-data" title="gtk.gdk.Window.get_user_data">get_user_data</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-override-redirect" title="gtk.gdk.Window.set_override_redirect">set_override_redirect</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>override_redirect</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--add-filter" title="gtk.gdk.Window.add_filter">add_filter</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>function</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--scroll" title="gtk.gdk.Window.scroll">scroll</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>dx</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>dy</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--shape-combine-mask" title="gtk.gdk.Window.shape_combine_mask">shape_combine_mask</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>shape_mask</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>offset_x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>offset_y</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-child-shapes" title="gtk.gdk.Window.set_child_shapes">set_child_shapes</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--merge-child-shapes" title="gtk.gdk.Window.merge_child_shapes">merge_child_shapes</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--is-visible" title="gtk.gdk.Window.is_visible">is_visible</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--is-viewable" title="gtk.gdk.Window.is_viewable">is_viewable</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-state" title="gtk.gdk.Window.get_state">get_state</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-static-gravities" title="gtk.gdk.Window.set_static_gravities">set_static_gravities</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>use_static</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-type-hint" title="gtk.gdk.Window.get_type_hint">get_type_hint</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-type-hint" title="gtk.gdk.Window.set_type_hint">set_type_hint</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hint</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-modal-hint" title="gtk.gdk.Window.set_modal_hint">set_modal_hint</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>modal</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-skip-taskbar-hint" title="gtk.gdk.Window.set_skip_taskbar_hint">set_skip_taskbar_hint</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>skips_taskbar</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-skip-pager-hint" title="gtk.gdk.Window.set_skip_pager_hint">set_skip_pager_hint</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>skips_pager</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-geometry-hints" title="gtk.gdk.Window.set_geometry_hints">set_geometry_hints</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>min_width</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>min_height</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>max_width</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>max_height</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>base_width</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>base_height</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>width_inc</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height_inc</code></strong></span><span class="initializer">=-1</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>min_aspect</code></strong></span><span class="initializer">=-1.0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>max_aspect</code></strong></span><span class="initializer">=-1.0</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--begin-paint-rect" title="gtk.gdk.Window.begin_paint_rect">begin_paint_rect</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>rectangle</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--begin-paint-region" title="gtk.gdk.Window.begin_paint_region">begin_paint_region</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>region</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--end-paint" title="gtk.gdk.Window.end_paint">end_paint</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-title" title="gtk.gdk.Window.set_title">set_title</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-role" title="gtk.gdk.Window.set_role">set_role</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>role</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-transient-for" title="gtk.gdk.Window.set_transient_for">set_transient_for</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>leader</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-background" title="gtk.gdk.Window.set_background">set_background</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>color</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-back-pixmap" title="gtk.gdk.Window.set_back_pixmap">set_back_pixmap</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>pixmap</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>parent_relative</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-cursor" title="gtk.gdk.Window.set_cursor">set_cursor</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>cursor</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-geometry" title="gtk.gdk.Window.get_geometry">get_geometry</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-position" title="gtk.gdk.Window.get_position">get_position</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-origin" title="gtk.gdk.Window.get_origin">get_origin</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-root-origin" title="gtk.gdk.Window.get_root_origin">get_root_origin</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-frame-extents" title="gtk.gdk.Window.get_frame_extents">get_frame_extents</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-pointer" title="gtk.gdk.Window.get_pointer">get_pointer</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-parent" title="gtk.gdk.Window.get_parent">get_parent</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-toplevel" title="gtk.gdk.Window.get_toplevel">get_toplevel</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-children" title="gtk.gdk.Window.get_children">get_children</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-events" title="gtk.gdk.Window.get_events">get_events</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-events" title="gtk.gdk.Window.set_events">set_events</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>event_mask</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-icon-list" title="gtk.gdk.Window.set_icon_list">set_icon_list</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>pixbufs</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-icon" title="gtk.gdk.Window.set_icon">set_icon</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>pixmap</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>mask</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-icon-name" title="gtk.gdk.Window.set_icon_name">set_icon_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-group" title="gtk.gdk.Window.set_group">set_group</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>leader</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-group" title="gtk.gdk.Window.get_group">get_group</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-decorations" title="gtk.gdk.Window.set_decorations">set_decorations</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>decorations</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-decorations" title="gtk.gdk.Window.get_decorations">get_decorations</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-functions" title="gtk.gdk.Window.set_functions">set_functions</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>functions</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--iconify" title="gtk.gdk.Window.iconify">iconify</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--deiconify" title="gtk.gdk.Window.deiconify">deiconify</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--stick" title="gtk.gdk.Window.stick">stick</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--unstick" title="gtk.gdk.Window.unstick">unstick</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--maximize" title="gtk.gdk.Window.maximize">maximize</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--unmaximize" title="gtk.gdk.Window.unmaximize">unmaximize</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--fullscreen" title="gtk.gdk.Window.fullscreen">fullscreen</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--unfullscreen" title="gtk.gdk.Window.unfullscreen">unfullscreen</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--register-dnd" title="gtk.gdk.Window.register_dnd">register_dnd</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--begin-resize-drag" title="gtk.gdk.Window.begin_resize_drag">begin_resize_drag</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>edge</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>button</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>root_x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>root_y</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>timestamp</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--begin-move-drag" title="gtk.gdk.Window.begin_move_drag">begin_move_drag</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>button</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>root_x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>root_y</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>timestamp</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--invalidate-rect" title="gtk.gdk.Window.invalidate_rect">invalidate_rect</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>rect</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>invalidate_children</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--invalidate-region" title="gtk.gdk.Window.invalidate_region">invalidate_region</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>region</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>invalidate_children</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--get-update-area" title="gtk.gdk.Window.get_update_area">get_update_area</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--freeze-updates" title="gtk.gdk.Window.freeze_updates">freeze_updates</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--thaw-updates" title="gtk.gdk.Window.thaw_updates">thaw_updates</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--process-updates" title="gtk.gdk.Window.process_updates">process_updates</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>update_children</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-accept-focus" title="gtk.gdk.Window.set_accept_focus">set_accept_focus</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>accept_focus</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--enable-synchronized-configure" title="gtk.gdk.Window.enable_synchronized_configure">enable_synchronized_configure</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--configure-finished" title="gtk.gdk.Window.configure_finished">configure_finished</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-focus-on-map" title="gtk.gdk.Window.set_focus_on_map">set_focus_on_map</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>focus_on_map</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-urgency-hint" title="gtk.gdk.Window.set_urgency_hint">set_urgency_hint</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>urgent</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--move-region" title="gtk.gdk.Window.move_region">move_region</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>region</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>dx</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>dy</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--shape-combine-region" title="gtk.gdk.Window.shape_combine_region">shape_combine_region</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>shape_region</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>offset_x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>offset_y</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--input-shape-combine-mask" title="gtk.gdk.Window.input_shape_combine_mask">input_shape_combine_mask</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>mask</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--input-shape-combine-region" title="gtk.gdk.Window.input_shape_combine_region">input_shape_combine_region</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>shape_region</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>offset_x</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>offset_y</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--beep" title="gtk.gdk.Window.beep">beep</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-composited" title="gtk.gdk.Window.set_composited">set_composited</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>composited</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-opacity" title="gtk.gdk.Window.set_opacity">set_opacity</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>opacity</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--set-startup-id" title="gtk.gdk.Window.set_startup_id">set_startup_id</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>startup_id</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#method-gdkwindow--remove-redirection" title="gtk.gdk.Window.remove_redirection">remove_redirection</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table><pre class="programlisting">
4
4
<span class="bold"><strong>Functions</strong></span>
5
5
 
6
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-foreign-new" title="gtk.gdk.window_foreign_new">gtk.gdk.window_foreign_new</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-foreign-new-for-display" title="gtk.gdk.window_foreign_new_for_display">gtk.gdk.window_foreign_new_for_display</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>display</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--get-default-root-window" title="gtk.gdk.get_default_root_window">gtk.gdk.get_default_root_window</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-get-toplevels" title="gtk.gdk.window_get_toplevels">gtk.gdk.window_get_toplevels</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-lookup" title="gtk.gdk.window_lookup">gtk.gdk.window_lookup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-lookup-for-display" title="gtk.gdk.window_lookup_for_display">gtk.gdk.window_lookup_for_display</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>display</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-process-all-updates" title="gtk.gdk.window_process_all_updates">gtk.gdk.window_process_all_updates</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--gdk-window-set-debug-updates" title="gtk.gdk.gdk_window_set_debug_updates">gtk.gdk.gdk_window_set_debug_updates</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-at-pointer" title="gtk.gdk.window_at_pointer">gtk.gdk.window_at_pointer</a></span>()</code></pre></div><div class="refsect1" lang="en"><a name="id3268215"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
6
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-foreign-new" title="gtk.gdk.window_foreign_new">gtk.gdk.window_foreign_new</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-foreign-new-for-display" title="gtk.gdk.window_foreign_new_for_display">gtk.gdk.window_foreign_new_for_display</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>display</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--get-default-root-window" title="gtk.gdk.get_default_root_window">gtk.gdk.get_default_root_window</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-get-toplevels" title="gtk.gdk.window_get_toplevels">gtk.gdk.window_get_toplevels</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-lookup" title="gtk.gdk.window_lookup">gtk.gdk.window_lookup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-lookup-for-display" title="gtk.gdk.window_lookup_for_display">gtk.gdk.window_lookup_for_display</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>display</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-process-all-updates" title="gtk.gdk.window_process_all_updates">gtk.gdk.window_process_all_updates</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--gdk-window-set-debug-updates" title="gtk.gdk.gdk_window_set_debug_updates">gtk.gdk.gdk_window_set_debug_updates</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gdkwindow.html#function-gdk--window-at-pointer" title="gtk.gdk.window_at_pointer">gtk.gdk.window_at_pointer</a></span>()</code></pre></div><div class="refsect1" lang="en"><a name="id3260741"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
7
7
  +-- <a class="link" href="class-gdkdrawable.html" title="gtk.gdk.Drawable">gtk.gdk.Drawable</a>
8
8
    +-- <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window">gtk.gdk.Window</a>
9
 
</pre></div><div class="refsect1" lang="en"><a name="id3268248"></a><h2>Description</h2><p> <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> is a
 
9
</pre></div><div class="refsect1" lang="en"><a name="id3260774"></a><h2>Description</h2><p> <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> is a
10
10
rectangular region on the screen. It's a low-level object, used to implement
11
11
high-level objects such as <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a> and <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a>. A <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a> is a
12
12
toplevel window, the object a user might think of as a "window" with a
169
169
if using the system <a class="link" href="class-gdkvisual.html" title="gtk.gdk.Visual"><code class="classname">gtk.gdk.Visual</code></a> (see
170
170
the <a class="link" href="class-gdkcolormap.html#function-gdk--colormap-get-system" title="gtk.gdk.colormap_get_system"><code class="function">gtk.gdk.colormap_get_system</code>()</a> 
171
171
function) or a new <a class="link" href="class-gdkcolormap.html" title="gtk.gdk.Colormap"><code class="classname">gtk.gdk.Colormap</code></a>
172
 
using <em class="parameter"><code>visual</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>cursor</code></em></span></p></td><td>use the parent window's cursor</td></tr><tr><td><p><span class="term"><em class="parameter"><code>override_redirect</code></em></span></p></td><td>False</td></tr></tbody></table><p></p></div><div class="refsect1" lang="en"><a name="id2841789"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gdkwindow--drag-begin"></a><h3>gtk.gdk.Window.drag_begin</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">drag_begin</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>targets</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>targets</code></strong> :</span></p></td><td>a list of offered targets</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gdkdragcontext.html" title="gtk.gdk.DragContext"><code class="classname">gtk.gdk.DragContext</code></a></td></tr></tbody></table><p>The <code class="methodname">drag_begin</code>() method starts a drag
 
172
using <em class="parameter"><code>visual</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>cursor</code></em></span></p></td><td>use the parent window's cursor</td></tr><tr><td><p><span class="term"><em class="parameter"><code>override_redirect</code></em></span></p></td><td>False</td></tr></tbody></table><p></p></div><div class="refsect1" lang="en"><a name="id3261875"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gdkwindow--drag-begin"></a><h3>gtk.gdk.Window.drag_begin</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">drag_begin</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>targets</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>targets</code></strong> :</span></p></td><td>a list of offered targets</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gdkdragcontext.html" title="gtk.gdk.DragContext"><code class="classname">gtk.gdk.DragContext</code></a></td></tr></tbody></table><p>The <code class="methodname">drag_begin</code>() method starts a drag
173
173
operation and returns the new <a class="link" href="class-gdkdragcontext.html" title="gtk.gdk.DragContext"><code class="classname">gtk.gdk.DragContext</code></a> 
174
174
created for it. The list of targets (integer values) supported by the drag
175
175
source are specified by <em class="parameter"><code>targets</code></em>.</p></div><div class="refsect2" lang="en"><a name="method-gdkwindow--input-set-extension-events"></a><h3>gtk.gdk.Window.input_set_extension_events</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">input_set_extension_events</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>mask</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>mode</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>mask</code></strong> :</span></p></td><td>the event mask to be used</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>mode</code></strong> :</span></p></td><td>the set of extension events to
944
944
            When using GTK+, typically you should use
945
945
            <code class="methodname"><a class="link" href="class-gtkwindow.html#method-gtkwindow--set-startup-id" title="gtk.Window.set_startup_id">gtk.Window.set_startup_id</a></code>()
946
946
            instead of this low-level function.
947
 
        </p></div></div><div class="refsect1" lang="en"><a name="id3105762"></a><h2>Functions</h2><div class="refsect2" lang="en"><a name="function-gdk--window-foreign-new"></a><h3>gtk.gdk.window_foreign_new</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtk.gdk.window_foreign_new</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>anid</code></strong> :</span></p></td><td>a native window system ID</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the new <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>
 
947
        </p></div></div><div class="refsect1" lang="en"><a name="id3284551"></a><h2>Functions</h2><div class="refsect2" lang="en"><a name="function-gdk--window-foreign-new"></a><h3>gtk.gdk.window_foreign_new</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtk.gdk.window_foreign_new</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>anid</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>anid</code></strong> :</span></p></td><td>a native window system ID</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the new <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>
948
948
wrapper for the native window or <code class="literal">None</code> if the window has
949
949
been destroyed.</td></tr></tbody></table><p>The <code class="function">gtk.gdk.window_foreign_new</code>() function
950
950
wraps a native window specified by <em class="parameter"><code>anid</code></em> for the default display in a <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>. This