Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9d2e976f12e8ff1c53133a0ee8246441 > files > 24

python-xlib-doc-0.15-6.mga4.noarch.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k from ../src/python-xlib.texi on 22 October 2013 -->

<TITLE>The Python X Library - Window</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="python-xlib_1.html">first</A>, <A HREF="python-xlib_20.html">previous</A>, <A HREF="python-xlib_22.html">next</A>, <A HREF="python-xlib_25.html">last</A> section, <A HREF="python-xlib_toc.html">table of contents</A>.
<P><HR><P>


<H2><A NAME="SEC20" HREF="python-xlib_toc.html#TOC20">Window</A></H2>

<P>
<CODE>Window</CODE> objects have additional objects, see section <A HREF="python-xlib_17.html#SEC16">Resource</A> and section <A HREF="python-xlib_20.html#SEC19">Drawable</A>.


<P>
<DL>
<DT><U>Method:</U> Window <B>create_window</B> <I>( x, y, width, height, border_width, depth, window_class = X.CopyFromParent, visual = X.CopyFromParent, **keys )</I>
<DD><A NAME="IDX277"></A>
Returns Window
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>change_attributes</B> <I>( onerror = None, **keys )</I>
<DD><A NAME="IDX278"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_attributes</B> <I>( )</I>
<DD><A NAME="IDX279"></A>
Returns
Card8('backing_store'),
Card32('visual'),
Card16('class'),
Card8('bit_gravity'),
Card8('win_gravity'),
Card32('backing_bit_planes'),
Card32('backing_pixel'),
Card8('save_under'),
Card8('map_is_installed'),
Card8('map_state'),
Card8('override_redirect'),
Colormap('colormap', (X.NONE, )),
Card32('all_event_masks'),
Card32('your_event_mask'),
Card16('do_not_propagate_mask'),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>destroy</B> <I>( onerror = None )</I>
<DD><A NAME="IDX280"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>destroy_sub_windows</B> <I>( onerror = None )</I>
<DD><A NAME="IDX281"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>change_save_set</B> <I>( mode, onerror = None )</I>
<DD><A NAME="IDX282"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>reparent</B> <I>( parent, x, y, onerror = None )</I>
<DD><A NAME="IDX283"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>map</B> <I>( onerror = None )</I>
<DD><A NAME="IDX284"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>map_sub_windows</B> <I>( onerror = None )</I>
<DD><A NAME="IDX285"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>unmap</B> <I>( onerror = None )</I>
<DD><A NAME="IDX286"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>unmap_sub_windows</B> <I>( onerror = None )</I>
<DD><A NAME="IDX287"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>configure</B> <I>( onerror = None, **keys )</I>
<DD><A NAME="IDX288"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>circulate</B> <I>( direction, onerror = None )</I>
<DD><A NAME="IDX289"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>query_tree</B> <I>( )</I>
<DD><A NAME="IDX290"></A>
Returns
Window('root'),
Window('parent', (X.NONE, )),
List('children', WindowObj),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>change_property</B> <I>( property, type, format, data, mode = X.PropModeReplace, onerror = None )</I>
<DD><A NAME="IDX291"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>delete_property</B> <I>( property, onerror = None )</I>
<DD><A NAME="IDX292"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_property</B> <I>( property, type, offset, length, delete = 0 )</I>
<DD><A NAME="IDX293"></A>
Returns None or 
Card32('property_type'),
Card8('format'),
PropertyData('value'),
Card32('bytes_after'),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_full_property</B> <I>( property, type, sizehint = 10 )</I>
<DD><A NAME="IDX294"></A>
Returns None or 
Card32('property_type'),
Card8('format'),
PropertyData('value'),
Card32('bytes_after'),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>list_properties</B> <I>( )</I>
<DD><A NAME="IDX295"></A>
Returns List('atoms', Card32Obj),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_selection_owner</B> <I>( selection, time, onerror = None )</I>
<DD><A NAME="IDX296"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>convert_selection</B> <I>( selection, target, property, time, onerror = None )</I>
<DD><A NAME="IDX297"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>send_event</B> <I>( event, event_mask = 0, propagate = 0, onerror = None )</I>
<DD><A NAME="IDX298"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>grab_pointer</B> <I>( owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor, time )</I>
<DD><A NAME="IDX299"></A>
Returns Card8('status'),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>grab_button</B> <I>( button, modifiers, owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor, onerror = None )</I>
<DD><A NAME="IDX300"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>ungrab_button</B> <I>( button, modifiers, onerror = None )</I>
<DD><A NAME="IDX301"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>grab_keyboard</B> <I>( owner_events, pointer_mode, keyboard_mode, time )</I>
<DD><A NAME="IDX302"></A>
Returns Card8('status'),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>grab_key</B> <I>( key, modifiers, owner_events, pointer_mode, keyboard_mode, onerror = None )</I>
<DD><A NAME="IDX303"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>ungrab_key</B> <I>( key, modifiers, onerror = None )</I>
<DD><A NAME="IDX304"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>query_pointer</B> <I>( )</I>
<DD><A NAME="IDX305"></A>
Returns
Card8('same_screen'),
Window('root'),
Window('child', (X.NONE, )),
Int16('root_x'),
Int16('root_y'),
Int16('win_x'),
Int16('win_y'),
Card16('mask'),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_motion_events</B> <I>( start, stop )</I>
<DD><A NAME="IDX306"></A>
Returns List('events', structs.TimeCoord),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>translate_coords</B> <I>( src_window, src_x, src_y )</I>
<DD><A NAME="IDX307"></A>
Returns
Window('child', (X.NONE, )),
Int16('x'),
Int16('y'),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>warp_pointer</B> <I>( x, y, src_window = 0, src_x = 0, src_y = 0, src_width = 0, src_height = 0, onerror = None )</I>
<DD><A NAME="IDX308"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_input_focus</B> <I>( revert_to, time, onerror = None )</I>
<DD><A NAME="IDX309"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>clear_area</B> <I>( x = 0, y = 0, width = 0, height = 0, exposures = 0, onerror = None )</I>
<DD><A NAME="IDX310"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>create_colormap</B> <I>( visual, alloc )</I>
<DD><A NAME="IDX311"></A>
Returns Colormap.
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>list_installed_colormaps</B> <I>( )</I>
<DD><A NAME="IDX312"></A>
Returns List('cmaps', ColormapObj),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>rotate_properties</B> <I>( properties, delta, onerror = None )</I>
<DD><A NAME="IDX313"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_name</B> <I>( name, onerror = None )</I>
<DD><A NAME="IDX314"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_name</B> <I>( )</I>
<DD><A NAME="IDX315"></A>
Returns None or string.
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_icon_name</B> <I>( name, onerror = None )</I>
<DD><A NAME="IDX316"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_icon_name</B> <I>( )</I>
<DD><A NAME="IDX317"></A>
Returns None or string.
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_class</B> <I>( inst, cls, onerror = None )</I>
<DD><A NAME="IDX318"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_class</B> <I>( )</I>
<DD><A NAME="IDX319"></A>
Returns None or (isntance, class)
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_transient_for</B> <I>( window, onerror = None )</I>
<DD><A NAME="IDX320"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_transient_for</B> <I>( )</I>
<DD><A NAME="IDX321"></A>
Returns None or Window.
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_protocols</B> <I>( protocols, onerror = None )</I>
<DD><A NAME="IDX322"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_protocols</B> <I>( )</I>
<DD><A NAME="IDX323"></A>
Returns list of atoms.
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_colormap_windows</B> <I>( windows, onerror = None )</I>
<DD><A NAME="IDX324"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_colormap_windows</B> <I>( )</I>
<DD><A NAME="IDX325"></A>
Returns list of Windows.
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_client_machine</B> <I>( name, onerror = None )</I>
<DD><A NAME="IDX326"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_client_machine</B> <I>( )</I>
<DD><A NAME="IDX327"></A>
Returns None or string.
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_normal_hints</B> <I>( hints = {}, onerror = None, **keys )</I>
<DD><A NAME="IDX328"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_normal_hints</B> <I>( )</I>
<DD><A NAME="IDX329"></A>
Returns  Card32('flags'),
Int32('min_width', default = 0),
Int32('min_height', default = 0),
Int32('max_width', default = 0),
Int32('max_height', default = 0),
Int32('width_inc', default = 0),
Int32('height_inc', default = 0),
Object('min_aspect', Aspect, default = (0, 0)),
Object('max_aspect', Aspect, default = (0, 0)),
Int32('base_width', default = 0),
Int32('base_height', default = 0),
Int32('win_gravity', default = 0),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_hints</B> <I>( hints = {}, onerror = None, **keys )</I>
<DD><A NAME="IDX330"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_hints</B> <I>( )</I>
<DD><A NAME="IDX331"></A>
Returns Card32('flags'),
Card32('input', default = 0),
Set('initial_state', 4,
( Xutil.NormalState, Xutil.IconicState ),
default = Xutil.NormalState),
Pixmap('icon_pixmap', default = 0),
Window('icon_window', default = 0),
Int32('icon_x', default = 0),
Int32('icon_y', default = 0),
Pixmap('icon_mask', default = 0),
Window('window_group', default = 0),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_state</B> <I>( hints = {}, onerror = None, **keys )</I>
<DD><A NAME="IDX332"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_state</B> <I>( )</I>
<DD><A NAME="IDX333"></A>
Returns  Set('state', 4,
( Xutil.WithdrawnState,
Xutil.NormalState,
Xutil.IconicState )),
Window('icon', ( X.NONE, )),
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>set_wm_icon_size</B> <I>( hints = {}, onerror = None, **keys )</I>
<DD><A NAME="IDX334"></A>
</DL>


<P>
<DL>
<DT><U>Method:</U> Window <B>get_wm_icon_size</B> <I>( )</I>
<DD><A NAME="IDX335"></A>
Returns Card32('min_width'),
Card32('min_height'),
Card32('max_width'),
Card32('max_height'),
Card32('width_inc'),
Card32('height_inc'),
</DL>


<P><HR><P>
Go to the <A HREF="python-xlib_1.html">first</A>, <A HREF="python-xlib_20.html">previous</A>, <A HREF="python-xlib_22.html">next</A>, <A HREF="python-xlib_25.html">last</A> section, <A HREF="python-xlib_toc.html">table of contents</A>.
</BODY>
</HTML>