1Gtk2::Gdk::Window(3)  User Contributed Perl Documentation Gtk2::Gdk::Window(3)
2
3
4

NAME

6       Gtk2::Gdk::Window - wrapper for GdkWindow
7

DESCRIPTION

9       "Gtk2::Gdk::Window" is a low-level window-system window.  One of these
10       is created when a widget is "realized".
11
12       As of Gtk 2.22 a window can only be created by
13       "Gtk2::Gdk::Window->new()", "foreign_new()", etc.
14       "Glib::Object::new()" doesn't work (segfaults on using the resulting
15       window object).  It's not possible to subclass "Gtk2::Gdk::Window" with
16       Glib::Object::Subclass and the "Glib::Type" system, since only
17       "gdk_window_new()" does the actual window creation, and that function
18       always makes a "GdkWindow".  (The Perl-Gtk "Gtk2::Gdk::Window->new()"
19       wrapper ignores the class name argument.)
20
21       It may work to create a Perl level subclass and re-bless a
22       "Gtk2::Gdk::Window->new()" into that.  But like any such re-blessing
23       it's not preserved when the object is returned from a Gtk function etc
24       (that just gives the base Gtk class).
25

HIERARCHY

27         Glib::Object
28         +----Gtk2::Gdk::Drawable
29              +----Gtk2::Gdk::Window
30

METHODS

32   window = Gtk2::Gdk::Window->new ($parent, $attributes_ref)
33       ·   $parent (Gtk2::Gdk::Window or undef)
34
35       ·   $attributes_ref (scalar)
36
37       Create and return a new window.  parent can be undef to mean the root
38       window of the default screen.  attributes_ref is a hashref containing
39       some of the following keys,
40
41           title              string
42           event_mask         Gtk2::Gdk::EventMask flags
43           x                  integer
44           y                  integer
45           width              integer
46           height             integer
47           wclass             Gtk2::Gdk::WindowClass enum
48           visual             Gtk2::Gdk::Visual
49           colormap           Gtk2::Gdk::Colormap
50           window_type        Gtk2::Gdk::WindowType enum
51           cursor             Gtk2::Gdk::Cursor
52           wmclass_name       string
53           wmclass_class      string
54           override_redirect  boolean (integer 0 or 1)
55
56       window_type is mandatory because it defaults to "root" but of course
57       it's not possible to create a new root window.  The other fields get
58       default values zero, empty, unset, etc.
59
60           my $win = Gtk2::Gdk::Window->new
61                       (undef, { window_type => 'toplevel,
62                                 wclass => 'GDK_INPUT_OUTPUT',
63                                 x => 0,
64                                 y => 0,
65                                 width => 200,
66                                 height => 100 });
67
68       Incidentally, the nicknames for wclass Gtk2::Gdk::WindowClass really
69       are "output" for input-output and "only" for input-only.  Those names
70       are a bit odd, but that's what Gtk has.  You can, as for any enum, give
71       the full names like "GDK_INPUT_OUTPUT" if desired, for some clarity.
72
73   boolean = $window->get_accept_focus
74       Since: gtk+ 2.22
75
76   $window->set_accept_focus ($accept_focus)
77       ·   $accept_focus (boolean)
78
79       Since: gtk+ 2.4
80
81   (window, win_x, win_y) = Gtk2::Gdk::Window->at_pointer
82       Returns window, a Gtk2::Gdk::Window and win_x and win_y, integers.
83
84   $window->set_back_pixmap ($pixmap, $parent_relative=0)
85       ·   $pixmap (Gtk2::Gdk::Pixmap or undef)
86
87       ·   $parent_relative (boolean)
88
89   pattern = $window->get_background_pattern
90       Since: gtk+ 2.22
91
92   $window->set_background ($color)
93       ·   $color (Gtk2::Gdk::Color)
94
95   $window->beep
96       Since: gtk+ 2.12
97
98   $window->begin_move_drag ($button, $root_x, $root_y, $timestamp)
99       ·   $button (integer)
100
101       ·   $root_x (integer)
102
103       ·   $root_y (integer)
104
105       ·   $timestamp (unsigned)
106
107   $window->begin_paint_rect ($rectangle)
108       ·   $rectangle (Gtk2::Gdk::Rectangle)
109
110   $window->begin_paint_region ($region)
111       ·   $region (Gtk2::Gdk::Region)
112
113   $window->begin_resize_drag ($edge, $button, $root_x, $root_y, $timestamp)
114       ·   $edge (Gtk2::Gdk::WindowEdge)
115
116       ·   $button (integer)
117
118       ·   $root_x (integer)
119
120       ·   $root_y (integer)
121
122       ·   $timestamp (unsigned)
123
124   $window->set_child_input_shapes
125       Since: gtk+ 2.10
126
127   $window->set_child_shapes
128   list = $window->get_children
129       Returns the list of children (Gtk2::Gdk::Window's) known to gdk.
130
131   $window->clear
132   $window->clear_area ($x, $y, $width, $height)
133       ·   $x (integer)
134
135       ·   $y (integer)
136
137       ·   $width (integer)
138
139       ·   $height (integer)
140
141   $window->clear_area_e ($x, $y, $width, $height)
142       ·   $x (integer)
143
144       ·   $y (integer)
145
146       ·   $width (integer)
147
148       ·   $height (integer)
149
150   boolean = $window->get_composited
151       Since: gtk+ 2.22
152
153   $window->set_composited ($composited)
154       ·   $composited (boolean)
155
156       Since: gtk+ 2.12
157
158   $window->configure_finished
159       Since: gtk+ 2.6
160
161   (x, y) = $window->coords_from_parent ($parent_x, $parent_y)
162       ·   $parent_x (double)
163
164       ·   $parent_y (double)
165
166       Since: gtk+ 2.22
167
168   (parent_x, parent_y) = $window->coords_to_parent ($x, $y)
169       ·   $x (double)
170
171       ·   $y (double)
172
173       Since: gtk+ 2.22
174
175   surface = $window->create_similar_surface ($content, $width, $height)
176       ·   $content (Cairo::Content)
177
178       ·   $width (integer)
179
180       ·   $height (integer)
181
182       Since: gtk+ 2.22
183
184   cursor or undef = $window->get_cursor
185       Since: gtk+ 2.18
186
187   $window->set_cursor ($cursor)
188       ·   $cursor (Gtk2::Gdk::Cursor or undef)
189
190   Gtk2::Gdk::Window->set_debug_updates ($enable)
191   $window->set_debug_updates ($enable)
192       ·   $enable (boolean)
193
194   list = $window->get_decorations
195   $window->set_decorations ($decorations)
196       ·   $decorations (Gtk2::Gdk::WMDecoration)
197
198   $window->deiconify
199   $window->destroy
200   window = $window->get_effective_parent
201       Since: gtk+ 2.22
202
203   window = $window->get_effective_toplevel
204       Since: gtk+ 2.22
205
206   window or undef = $offscreen_window->get_embedder
207       Only for offscreen "Gtk2::Gdk::Windows".
208
209       Since: gtk+ 2.18
210
211   $offscreen_window->set_embedder ($embedder)
212       ·   $embedder (Gtk2::Gdk::Window)
213
214       Only for offscreen "Gtk2::Gdk::Windows".
215
216       Since: gtk+ 2.18
217
218   $window->enable_synchronized_configure
219       Since: gtk+ 2.6
220
221   $window->end_paint
222   boolean = $window->ensure_native
223       Since: gtk+ 2.18
224
225   eventmask = $window->get_events
226   $window->set_events ($event_mask)
227       ·   $event_mask (Gtk2::Gdk::EventMask)
228
229   $window->flush
230       Since: gtk+ 2.18
231
232   $window->focus ($timestamp)
233       ·   $timestamp (unsigned)
234
235   boolean = $window->get_focus_on_map
236       Since: gtk+ 2.22
237
238   $window->set_focus_on_map ($focus_on_map)
239       ·   $focus_on_map (boolean)
240
241       Since: gtk+ 2.6
242
243   window = Gtk2::Gdk::Window->foreign_new ($anid)
244       ·   $anid (Gtk2::Gdk::NativeWindow)
245
246   window = Gtk2::Gdk::Window->foreign_new_for_display ($display, $anid)
247       ·   $display (Gtk2::Gdk::Display)
248
249       ·   $anid (Gtk2::Gdk::NativeWindow)
250
251       Since: gtk+ 2.2
252
253   rectangle = $window->get_frame_extents
254   $window->freeze_updates
255   $window->fullscreen
256       Since: gtk+ 2.2
257
258   $window->set_functions ($functions)
259       ·   $functions (Gtk2::Gdk::WMFunction)
260
261   $sm_client_id->gdk_set_sm_client_id
262   $window->geometry_changed
263       Only useful for offscreen "Gtk2::Gdk::Windows".
264
265       Since: gtk+ 2.18
266
267   (x, y, width, height, depth) = $window->get_geometry
268   $window->set_geometry_hints ($geometry)
269   $window->set_geometry_hints ($geometry, $geom_mask)
270       ·   $geom_mask (Gtk2::Gdk::WindowHints) optional, usually inferred from
271           $geometry
272
273       ·   $geometry (scalar) Gtk2::Gdk::Geometry or hashref
274
275       $geometry is either a "Gtk2::Gdk::Geometry" object, or a hashref with
276       the following keys and values,
277
278           min_width     integer \ 'min-size' mask
279           min_height    integer /
280           max_width     integer \ 'max-size' mask
281           max_height    integer /
282           base_width    integer \ 'base-size' mask
283           base_height   integer /
284           width_inc     integer \ 'resize-inc' mask
285           height_inc    integer /
286           min_aspect    float   \ 'aspect' mask
287           max_aspect    float   /
288           win_gravity   Gtk2::Gdk::Gravity enum, 'win-gravity' mask
289
290       Optional $geom_mask is which fields of $geometry are used.  If
291       $geometry is a hashref then $geom_mask defaults to the keys supplied in
292       the hash, so for example
293
294           $win->set_geometry_hints ({ min_width => 20, min_height => 10});
295
296       If $geometry is a "Gtk2::Gdk::Geometry" object then you must give
297       $geom_mask explicitly.
298
299       The 'pos', 'user-pos' and 'user-size' flags in $geom_mask have no data
300       fields, so cannot be inferred from a $geometry hashref.  If you want
301       those flags you must pass $geom_mask explicitly.
302
303   window = $window->get_group
304       Since: gtk+ 2.4
305
306   $window->set_group ($leader)
307       ·   $leader (Gtk2::Gdk::Window or undef)
308
309   boolean = $window->has_native
310       Since: gtk+ 2.22
311
312   $window->hide
313   $window->set_icon_list (...)
314       ·   ... (list) of GdkPixbuf's
315
316   $window->set_icon_name ($name)
317       ·   $name (string or undef)
318
319   $window->set_icon ($icon_window, $pixmap, $mask)
320       ·   $icon_window (Gtk2::Gdk::Window or undef)
321
322       ·   $pixmap (Gtk2::Gdk::Pixmap or undef)
323
324       ·   $mask (Gtk2::Gdk::Bitmap or undef)
325
326   $window->iconify
327   $window->input_shape_combine_mask ($mask, $x, $y)
328       ·   $mask (Gtk2::Gdk::Bitmap or undef)
329
330       ·   $x (integer)
331
332       ·   $y (integer)
333
334       Since: gtk+ 2.10
335
336   $window->input_shape_combine_region ($shape, $offset_x, $offset_y)
337       ·   $shape (Gtk2::Gdk::Region or undef)
338
339       ·   $offset_x (integer)
340
341       ·   $offset_y (integer)
342
343       Since: gtk+ 2.10
344
345   list = $window->get_internal_paint_info
346   $window->invalidate_maybe_recurse ($region, $func, $data=undef)
347       ·   $region (Gtk2::Gdk::Region)
348
349       ·   $func (scalar)
350
351       ·   $data (scalar)
352
353   $window->invalidate_rect ($rectangle, $invalidate_children)
354       ·   $rectangle (Gtk2::Gdk::Rectangle or undef)
355
356       ·   $invalidate_children (boolean)
357
358   $window->invalidate_region ($region, $invalidate_children)
359       ·   $region (Gtk2::Gdk::Region)
360
361       ·   $invalidate_children (boolean)
362
363   boolean = $window->is_destroyed
364       Since: gtk+ 2.18
365
366   boolean = $window->is_input_only
367       Since: gtk+ 2.22
368
369   boolean = $window->is_shaped
370       Since: gtk+ 2.22
371
372   boolean = $window->is_viewable
373   boolean = $window->is_visible
374   $window->set_keep_above ($setting)
375       ·   $setting (boolean)
376
377       Since: gtk+ 2.4
378
379   $window->set_keep_below ($setting)
380       ·   $setting (boolean)
381
382       Since: gtk+ 2.4
383
384   window = Gtk2::Gdk::Window->lookup ($anid)
385       ·   $anid (Gtk2::Gdk::NativeWindow)
386
387   window = Gtk2::Gdk::Window->lookup_for_display ($display, $anid)
388       ·   $display (Gtk2::Gdk::Display)
389
390       ·   $anid (Gtk2::Gdk::NativeWindow)
391
392       Since: gtk+ 2.2
393
394   $window->lower
395   $window->maximize
396   $window->merge_child_input_shapes
397       Since: gtk+ 2.10
398
399   $window->merge_child_shapes
400   boolean = $window->get_modal_hint
401       Since: gtk+ 2.22
402
403   $window->set_modal_hint ($modal)
404       ·   $modal (boolean)
405
406   $window->move ($x, $y)
407       ·   $x (integer)
408
409       ·   $y (integer)
410
411   $window->move_region ($region, $dx, $dy)
412       ·   $region (Gtk2::Gdk::Region)
413
414       ·   $dx (integer)
415
416       ·   $dy (integer)
417
418       Since: gtk+ 2.8
419
420   $window->move_resize ($x, $y, $width, $height)
421       ·   $x (integer)
422
423       ·   $y (integer)
424
425       ·   $width (integer)
426
427       ·   $height (integer)
428
429   $window->move_to_current_desktop
430       Since: gtk+ 2.8
431
432   $window->set_opacity ($opacity)
433       ·   $opacity (double)
434
435       Since: gtk+ 2.12
436
437   (x, y) = $window->get_origin
438   $window->set_override_redirect ($override_redirect)
439       ·   $override_redirect (boolean)
440
441   window = $window->get_parent
442   list = $window->peek_children
443       An alias for get_children
444
445   pixmap or undef = $offscreen_window->get_pixmap
446       Only for offscreen "Gtk2::Gdk::Windows".
447
448       Since: gtk+ 2.18
449
450   (window_at_pointer, x, y, mask) = $window->get_pointer
451       Returns window_at_pointer, a Gtk2::Gdk::Window or undef, x and y,
452       integers, and mask, a Gtk2::Gdk::ModifierType.
453
454   (x, y) = $window->get_position
455   Gtk2::Gdk::Window->process_all_updates
456   $window->process_all_updates
457   $window->process_updates ($update_children)
458       ·   $update_children (boolean)
459
460   $window->property_change ($property, $type, $format, $mode, ...)
461       ·   $property (Gtk2::Gdk::Atom)
462
463       ·   $type (Gtk2::Gdk::Atom)
464
465       ·   $format (integer)
466
467       ·   $mode (Gtk2::Gdk::PropMode)
468
469       ·   ... (list) property value(s)
470
471       Depending on the value of format, the property value(s) can be:
472
473         +--------------------+------------------------------------+
474         |      format        |                value               |
475         +--------------------+------------------------------------+
476         | Gtk2::Gdk::CHARS   | a string                           |
477         | Gtk2::Gdk::USHORTS | one or more unsigned short numbers |
478         | Gtk2::Gdk::ULONGS  | one or more unsigned long numbers  |
479         +--------------------+------------------------------------+
480
481   $window->property_delete ($property)
482       ·   $property (Gtk2::Gdk::Atom)
483
484   (property_type, format, data) = $window->property_get ($property, $type,
485       $offset, $length, $pdelete)
486       ·   $property (Gtk2::Gdk::Atom)
487
488       ·   $type (Gtk2::Gdk::Atom)
489
490       ·   $offset (unsigned)
491
492       ·   $length (unsigned)
493
494       ·   $pdelete (integer)
495
496       See property_change for an explanation of the meaning of format.
497
498   $window->raise
499   $window->redirect_to_drawable ($drawable, $src_x, $src_y, $dest_x, $dest_y,
500       $width, $height)
501       ·   $drawable (Gtk2::Gdk::Drawable)
502
503       ·   $src_x (integer)
504
505       ·   $src_y (integer)
506
507       ·   $dest_x (integer)
508
509       ·   $dest_y (integer)
510
511       ·   $width (integer)
512
513       ·   $height (integer)
514
515       Since: gtk+ 2.14
516
517   $window->register_dnd
518   $window->remove_redirection
519       Since: gtk+ 2.14
520
521   $window->reparent ($new_parent, $x, $y)
522       ·   $new_parent (Gtk2::Gdk::Window)
523
524       ·   $x (integer)
525
526       ·   $y (integer)
527
528   $window->resize ($width, $height)
529       ·   $width (integer)
530
531       ·   $height (integer)
532
533   $window->restack ($sibling, $above)
534       ·   $sibling (Gtk2::Gdk::Window or undef)
535
536       ·   $above (boolean)
537
538       Since: gtk+ 2.18
539
540   $window->set_role ($role)
541       ·   $role (string)
542
543   (root_x, root_y) = $window->get_root_coords ($x, $y)
544       ·   $x (integer)
545
546       ·   $y (integer)
547
548       Since: gtk+ 2.18
549
550   (x, y) = $window->get_root_origin
551   $window->scroll ($dx, $dy)
552       ·   $dx (integer)
553
554       ·   $dy (integer)
555
556   $window->shape_combine_mask ($mask, $x, $y)
557       ·   $mask (Gtk2::Gdk::Bitmap or undef)
558
559       ·   $x (integer)
560
561       ·   $y (integer)
562
563   $window->shape_combine_region ($shape_region, $offset_x, $offset_y)
564       ·   $shape_region (Gtk2::Gdk::Region or undef)
565
566       ·   $offset_x (integer)
567
568       ·   $offset_y (integer)
569
570   $window->show
571   $window->show_unraised
572   $window->set_skip_pager_hint ($skips_pager)
573       ·   $skips_pager (boolean)
574
575       Since: gtk+ 2.2
576
577   $window->set_skip_taskbar_hint ($skips_taskbar)
578       ·   $skips_taskbar (boolean)
579
580       Since: gtk+ 2.2
581
582   $window->set_startup_id ($startup_id)
583       ·   $startup_id (string)
584
585       Since: gtk+ 2.12
586
587   windowstate = $window->get_state
588   boolean = $window->set_static_gravities ($use_static)
589       ·   $use_static (boolean)
590
591   $window->stick
592   $window->thaw_updates
593   $window->set_title ($title)
594       ·   $title (string)
595
596   window = $window->get_toplevel
597   list = Gtk2::Gdk::Window->get_toplevels
598       Returns a list of top level windows (Gtk2::Gdk::Window's) known to gdk,
599       on the default screen. A toplevel window is a child of the root window.
600
601   $window->set_transient_for ($parent)
602       ·   $parent (Gtk2::Gdk::Window)
603
604   windowtypehint = $window->get_type_hint
605       Since: gtk+ 2.10
606
607   $window->set_type_hint ($hint)
608       ·   $hint (Gtk2::Gdk::WindowTypeHint)
609
610   $window->unfullscreen
611       Since: gtk+ 2.2
612
613   $window->unmaximize
614   $window->unstick
615   region or undef = $window->get_update_area
616   $window->set_urgency_hint ($urgent)
617       ·   $urgent (boolean)
618
619       Since: gtk+ 2.8
620
621   unsigned = $window->get_user_data
622   $window->set_user_data ($user_data)
623       ·   $user_data (unsigned)
624
625   $window->set_user_time ($timestamp)
626       ·   $timestamp (unsigned)
627
628       Since: gtk+ 2.6
629
630   windowtype = $window->get_window_type
631   $window->withdraw

PROPERTIES

633       'cursor' (Gtk2::Gdk::Cursor : default undef : readable / writable)
634           Cursor
635

SIGNALS

637       from-embedder (Gtk2::Gdk::Window, double, double, gpointer, gpointer)
638       Gtk2::Gdk::Window = pick-embedded-child (Gtk2::Gdk::Window, double,
639       double)
640       to-embedder (Gtk2::Gdk::Window, double, double, gpointer, gpointer)
641
642       from-embedder, to-embedder and pick-embedded-child signals are for
643       offscreen windows only.
644
645       from-embedder and to-embedder receive the x and y coordinates to
646       translate, and must return the translated x and y coordinate.
647

ENUMS AND FLAGS

649   flags Gtk2::Gdk::EventMask
650       ·   'exposure-mask' / 'GDK_EXPOSURE_MASK'
651
652       ·   'pointer-motion-mask' / 'GDK_POINTER_MOTION_MASK'
653
654       ·   'pointer-motion-hint-mask' / 'GDK_POINTER_MOTION_HINT_MASK'
655
656       ·   'button-motion-mask' / 'GDK_BUTTON_MOTION_MASK'
657
658       ·   'button1-motion-mask' / 'GDK_BUTTON1_MOTION_MASK'
659
660       ·   'button2-motion-mask' / 'GDK_BUTTON2_MOTION_MASK'
661
662       ·   'button3-motion-mask' / 'GDK_BUTTON3_MOTION_MASK'
663
664       ·   'button-press-mask' / 'GDK_BUTTON_PRESS_MASK'
665
666       ·   'button-release-mask' / 'GDK_BUTTON_RELEASE_MASK'
667
668       ·   'key-press-mask' / 'GDK_KEY_PRESS_MASK'
669
670       ·   'key-release-mask' / 'GDK_KEY_RELEASE_MASK'
671
672       ·   'enter-notify-mask' / 'GDK_ENTER_NOTIFY_MASK'
673
674       ·   'leave-notify-mask' / 'GDK_LEAVE_NOTIFY_MASK'
675
676       ·   'focus-change-mask' / 'GDK_FOCUS_CHANGE_MASK'
677
678       ·   'structure-mask' / 'GDK_STRUCTURE_MASK'
679
680       ·   'property-change-mask' / 'GDK_PROPERTY_CHANGE_MASK'
681
682       ·   'visibility-notify-mask' / 'GDK_VISIBILITY_NOTIFY_MASK'
683
684       ·   'proximity-in-mask' / 'GDK_PROXIMITY_IN_MASK'
685
686       ·   'proximity-out-mask' / 'GDK_PROXIMITY_OUT_MASK'
687
688       ·   'substructure-mask' / 'GDK_SUBSTRUCTURE_MASK'
689
690       ·   'scroll-mask' / 'GDK_SCROLL_MASK'
691
692       ·   'all-events-mask' / 'GDK_ALL_EVENTS_MASK'
693
694   enum Gtk2::Gdk::PropMode
695       ·   'replace' / 'GDK_PROP_MODE_REPLACE'
696
697       ·   'prepend' / 'GDK_PROP_MODE_PREPEND'
698
699       ·   'append' / 'GDK_PROP_MODE_APPEND'
700
701   flags Gtk2::Gdk::WMDecoration
702       ·   'all' / 'GDK_DECOR_ALL'
703
704       ·   'border' / 'GDK_DECOR_BORDER'
705
706       ·   'resizeh' / 'GDK_DECOR_RESIZEH'
707
708       ·   'title' / 'GDK_DECOR_TITLE'
709
710       ·   'menu' / 'GDK_DECOR_MENU'
711
712       ·   'minimize' / 'GDK_DECOR_MINIMIZE'
713
714       ·   'maximize' / 'GDK_DECOR_MAXIMIZE'
715
716   flags Gtk2::Gdk::WMFunction
717       ·   'all' / 'GDK_FUNC_ALL'
718
719       ·   'resize' / 'GDK_FUNC_RESIZE'
720
721       ·   'move' / 'GDK_FUNC_MOVE'
722
723       ·   'minimize' / 'GDK_FUNC_MINIMIZE'
724
725       ·   'maximize' / 'GDK_FUNC_MAXIMIZE'
726
727       ·   'close' / 'GDK_FUNC_CLOSE'
728
729   enum Gtk2::Gdk::WindowEdge
730       ·   'north-west' / 'GDK_WINDOW_EDGE_NORTH_WEST'
731
732       ·   'north' / 'GDK_WINDOW_EDGE_NORTH'
733
734       ·   'north-east' / 'GDK_WINDOW_EDGE_NORTH_EAST'
735
736       ·   'west' / 'GDK_WINDOW_EDGE_WEST'
737
738       ·   'east' / 'GDK_WINDOW_EDGE_EAST'
739
740       ·   'south-west' / 'GDK_WINDOW_EDGE_SOUTH_WEST'
741
742       ·   'south' / 'GDK_WINDOW_EDGE_SOUTH'
743
744       ·   'south-east' / 'GDK_WINDOW_EDGE_SOUTH_EAST'
745
746   flags Gtk2::Gdk::WindowHints
747       ·   'pos' / 'GDK_HINT_POS'
748
749       ·   'min-size' / 'GDK_HINT_MIN_SIZE'
750
751       ·   'max-size' / 'GDK_HINT_MAX_SIZE'
752
753       ·   'base-size' / 'GDK_HINT_BASE_SIZE'
754
755       ·   'aspect' / 'GDK_HINT_ASPECT'
756
757       ·   'resize-inc' / 'GDK_HINT_RESIZE_INC'
758
759       ·   'win-gravity' / 'GDK_HINT_WIN_GRAVITY'
760
761       ·   'user-pos' / 'GDK_HINT_USER_POS'
762
763       ·   'user-size' / 'GDK_HINT_USER_SIZE'
764
765   flags Gtk2::Gdk::WindowState
766       ·   'withdrawn' / 'GDK_WINDOW_STATE_WITHDRAWN'
767
768       ·   'iconified' / 'GDK_WINDOW_STATE_ICONIFIED'
769
770       ·   'maximized' / 'GDK_WINDOW_STATE_MAXIMIZED'
771
772       ·   'sticky' / 'GDK_WINDOW_STATE_STICKY'
773
774       ·   'fullscreen' / 'GDK_WINDOW_STATE_FULLSCREEN'
775
776       ·   'above' / 'GDK_WINDOW_STATE_ABOVE'
777
778       ·   'below' / 'GDK_WINDOW_STATE_BELOW'
779
780   enum Gtk2::Gdk::WindowType
781       ·   'root' / 'GDK_WINDOW_ROOT'
782
783       ·   'toplevel' / 'GDK_WINDOW_TOPLEVEL'
784
785       ·   'child' / 'GDK_WINDOW_CHILD'
786
787       ·   'dialog' / 'GDK_WINDOW_DIALOG'
788
789       ·   'temp' / 'GDK_WINDOW_TEMP'
790
791       ·   'foreign' / 'GDK_WINDOW_FOREIGN'
792
793       ·   'offscreen' / 'GDK_WINDOW_OFFSCREEN'
794
795   enum Gtk2::Gdk::WindowTypeHint
796       ·   'normal' / 'GDK_WINDOW_TYPE_HINT_NORMAL'
797
798       ·   'dialog' / 'GDK_WINDOW_TYPE_HINT_DIALOG'
799
800       ·   'menu' / 'GDK_WINDOW_TYPE_HINT_MENU'
801
802       ·   'toolbar' / 'GDK_WINDOW_TYPE_HINT_TOOLBAR'
803
804       ·   'splashscreen' / 'GDK_WINDOW_TYPE_HINT_SPLASHSCREEN'
805
806       ·   'utility' / 'GDK_WINDOW_TYPE_HINT_UTILITY'
807
808       ·   'dock' / 'GDK_WINDOW_TYPE_HINT_DOCK'
809
810       ·   'desktop' / 'GDK_WINDOW_TYPE_HINT_DESKTOP'
811
812       ·   'dropdown-menu' / 'GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU'
813
814       ·   'popup-menu' / 'GDK_WINDOW_TYPE_HINT_POPUP_MENU'
815
816       ·   'tooltip' / 'GDK_WINDOW_TYPE_HINT_TOOLTIP'
817
818       ·   'notification' / 'GDK_WINDOW_TYPE_HINT_NOTIFICATION'
819
820       ·   'combo' / 'GDK_WINDOW_TYPE_HINT_COMBO'
821
822       ·   'dnd' / 'GDK_WINDOW_TYPE_HINT_DND'
823

SEE ALSO

825       Gtk2, Glib::Object, Gtk2::Gdk::Drawable
826
828       Copyright (C) 2003-2011 by the gtk2-perl team.
829
830       This software is licensed under the LGPL.  See Gtk2 for a full notice.
831
832
833
834perl v5.32.0                      2020-07-28              Gtk2::Gdk::Window(3)
Impressum