logo top
Main Page   Widgets   Namespaces   Book  

Gdk::Window Class Reference

Inheritance diagram for Gdk::Window:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Window ()
GdkWindow* gobj ()
 Provides access to the underlying C GObject.

const GdkWindow* gobj () const
 Provides access to the underlying C GObject.

GdkWindow* gobj_copy ()
WindowType get_window_type () const
void show ()
void hide ()
void withdraw ()
void show_unraised ()
void move (int x, int y)
void resize (int width, int height)
void move_resize (int x, int y, int width, int height)
void reparent (const Glib::RefPtr<Window>& new_parent, int x, int y)
void clear ()
void clear_area (int x, int y, int width, int height)
void clear_area_e (int x, int y, int width, int height)
void raise ()
void lower ()
void focus (guint32 timestamp)
void set_user_data (gpointer user_data)
void set_override_redirect (bool override_redirect=true)
void add_filter (GdkFilterFunc function, gpointer data)
void remove_filter (GdkFilterFunc function, gpointer data)
void scroll (int dx, int dy)
void shape_combine_mask (const Glib::RefPtr<Bitmap>& mask, int x, int y)
void shape_combine_region (GdkRegion* shape_region, int offset_x, int offset_y)
void set_child_shapes ()
void merge_child_shapes ()
bool is_visible () const
bool is_viewable () const
WindowState get_state () const
bool set_static_gravities (bool use_static=true)
void set_type_hint (WindowTypeHint hint)
void set_modal_hint (bool modal=true)
void set_geometry_hints (GdkGeometry* geometry, WindowHints geom_mask)
void begin_paint_rect (Rectangle& rectangle)
void begin_paint_region (GdkRegion* region)
void end_paint ()
void set_title (const Glib::ustring& title)
void set_role (const Glib::ustring& role)
void set_transient_for (const Glib::RefPtr<Window>& parent)
void set_background (const Color& color)
void set_back_pixmap (const Glib::RefPtr<Pixmap>& pixmap, bool parent_relative)
void set_cursor (const Cursor& cursor)
void set_cursor ()
 Use the parent window's cursor.

void get_user_data (gpointer* data)
void get_geometry (int& x, int& y, int& width, int& height, int& depth) const
void get_position (int& x, int& y) const
int get_origin (int& x, int& y) const
void get_root_origin (int& x, int& y) const
void get_frame_extents (Rectangle& rect)
Glib::RefPtr<Windowget_pointer (int& x, int& y, ModifierType& mask)
Glib::RefPtr<Windowget_parent ()
Glib::RefPtr<const Windowget_parent () const
Glib::RefPtr<Windowget_toplevel ()
Glib::RefPtr<const Windowget_toplevel () const
GList* get_children ()
GList* peek_children ()
EventMask get_events () const
void set_events (EventMask event_mask)
void set_icon_list (GList* pixbufs)
void set_icon (const Glib::RefPtr<Window>& icon_window, const Glib::RefPtr<Pixmap>& pixmap, const Glib::RefPtr<Bitmap>& mask)
void set_icon_name (const Glib::ustring& name)
void set_group (const Glib::RefPtr<Window>& leader)
void set_decorations (WMDecoration decorations)
bool get_decorations (WMDecoration& decorations)
void set_functions (WMFunction functions)
void iconify ()
void deiconify ()
void stick ()
void unstick ()
void maximize ()
void unmaximize ()
void register_dnd ()
void begin_resize_drag (WindowEdge edge, int button, int root_x, int root_y, guint32 timestamp)
void begin_move_drag (int button, int root_x, int root_y, guint32 timestamp)
void invalidate_rect (const Rectangle& rect, bool invalidate_children)
void invalidate_region (GdkRegion* region, bool invalidate_children)
GdkRegionget_update_area ()
void freeze_updates ()
void thaw_updates ()
void process_updates (bool update_children)
void get_internal_paint_info (GdkDrawable** real_drawable, int* x_offset, int* y_offset)
void set_skip_taskbar_hint (bool skips_taskbar=true)
void set_skip_pager_hint (bool skips_pager=true)
void fullscreen ()
void unfullscreen ()
GrabStatus pointer_grab (bool owner_events, EventMask event_mask, const Glib::RefPtr<const Window>& confine_to, const Cursor& cursor, guint32 time_)
GrabStatus pointer_grab (bool owner_events, EventMask event_mask, const Cursor& cursor, guint32 time_)
 Grabs the pointer to a specific window.

GrabStatus pointer_grab (bool owner_events, EventMask event_mask, guint32 time_)
 Grabs the pointer to a specific window.

GrabStatus keyboard_grab (bool owner_events, guint32 time_)

Static Public Member Functions

Glib::RefPtr<Windowcreate (const Glib::RefPtr<Window>& parent, GdkWindowAttr* attributes, int attributes_mask)
void set_sm_client_id (const Glib::ustring& sm_client_id)
GList* get_toplevels ()
void process_all_updates ()
void set_debug_updates (bool setting)
void constrain_size (const Geometry& geometry, guint flags, int width, int height, int& new_width, int& new_height)
void pointer_ungrab (guint32 time_)
void keyboard_ungrab (guint32 time_)

Protected Member Functions

 Window (const Glib::RefPtr<Window>& parent, GdkWindowAttr* attributes, int attributes_mask)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gdk::Windowwrap (GdkWindowObject* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gdk::Window::~Window (  )  [virtual]
 

Gdk::Window::Window ( const Glib::RefPtr<Window>&  parent,
GdkWindowAttr*  attributes,
int  attributes_mask
[protected]
 


Member Function Documentation

void Gdk::Window::add_filter ( GdkFilterFunc  function,
gpointer  data
 

void Gdk::Window::begin_move_drag ( int  button,
int  root_x,
int  root_y,
guint32  timestamp
 

void Gdk::Window::begin_paint_rect ( Rectangle rectangle  ) 
 

void Gdk::Window::begin_paint_region ( GdkRegion region  ) 
 

void Gdk::Window::begin_resize_drag ( WindowEdge  edge,
int  button,
int  root_x,
int  root_y,
guint32  timestamp
 

void Gdk::Window::clear (  ) 
 

void Gdk::Window::clear_area ( int  x,
int  y,
int  width,
int  height
 

void Gdk::Window::clear_area_e ( int  x,
int  y,
int  width,
int  height
 

void Gdk::Window::constrain_size ( const Geometry geometry,
guint  flags,
int  width,
int  height,
int&  new_width,
int&  new_height
[static]
 

Glib::RefPtr<Window> Gdk::Window::create ( const Glib::RefPtr<Window>&  parent,
GdkWindowAttr*  attributes,
int  attributes_mask
[static]
 

void Gdk::Window::deiconify (  ) 
 

void Gdk::Window::end_paint (  ) 
 

void Gdk::Window::focus ( guint32  timestamp  ) 
 

void Gdk::Window::freeze_updates (  ) 
 

void Gdk::Window::fullscreen (  ) 
 

GList* Gdk::Window::get_children (  ) 
 

bool Gdk::Window::get_decorations ( WMDecoration decorations  ) 
 

EventMask Gdk::Window::get_events (  )  const
 

void Gdk::Window::get_frame_extents ( Rectangle rect  ) 
 

void Gdk::Window::get_geometry ( int&  x,
int&  y,
int&  width,
int&  height,
int&  depth
const
 

void Gdk::Window::get_internal_paint_info ( GdkDrawable **  real_drawable,
int*  x_offset,
int*  y_offset
 

int Gdk::Window::get_origin ( int&  x,
int&  y
const
 

Glib::RefPtr<const Window> Gdk::Window::get_parent (  )  const
 

Glib::RefPtr<Window> Gdk::Window::get_parent (  ) 
 

Glib::RefPtr<Window> Gdk::Window::get_pointer ( int&  x,
int&  y,
ModifierType mask
 

void Gdk::Window::get_position ( int&  x,
int&  y
const
 

void Gdk::Window::get_root_origin ( int&  x,
int&  y
const
 

WindowState Gdk::Window::get_state (  )  const
 

Glib::RefPtr<const Window> Gdk::Window::get_toplevel (  )  const
 

Glib::RefPtr<Window> Gdk::Window::get_toplevel (  ) 
 

GList* Gdk::Window::get_toplevels (  )  [static]
 

GdkRegion* Gdk::Window::get_update_area (  ) 
 

void Gdk::Window::get_user_data ( gpointer*  data  ) 
 

WindowType Gdk::Window::get_window_type (  )  const
 

const GdkWindow* Gdk::Window::gobj (  )  const [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Gdk::Drawable.

GdkWindow* Gdk::Window::gobj (  )  [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Gdk::Drawable.

GdkWindow* Gdk::Window::gobj_copy (  ) 
 

Reimplemented from Gdk::Drawable.

void Gdk::Window::hide (  ) 
 

void Gdk::Window::iconify (  ) 
 

void Gdk::Window::invalidate_rect ( const Rectangle rect,
bool  invalidate_children
 

void Gdk::Window::invalidate_region ( GdkRegion region,
bool  invalidate_children
 

bool Gdk::Window::is_viewable (  )  const
 

bool Gdk::Window::is_visible (  )  const
 

GrabStatus Gdk::Window::keyboard_grab ( bool  owner_events,
guint32  time_
 

void Gdk::Window::keyboard_ungrab ( guint32  time_  )  [static]
 

void Gdk::Window::lower (  ) 
 

void Gdk::Window::maximize (  ) 
 

void Gdk::Window::merge_child_shapes (  ) 
 

void Gdk::Window::move ( int  x,
int  y
 

void Gdk::Window::move_resize ( int  x,
int  y,
int  width,
int  height
 

GList* Gdk::Window::peek_children (  ) 
 

GrabStatus Gdk::Window::pointer_grab ( bool  owner_events,
EventMask  event_mask,
guint32  time_
 

Grabs the pointer to a specific window.

Requires a corresponding call to pointer_ungrab().

Arguments:

Parameters:
owner_events Specifies whether events will be reported as is, or relative to the window.
event_mask Masks only interesting events.
time Specifies the time.

GrabStatus Gdk::Window::pointer_grab ( bool  owner_events,
EventMask  event_mask,
const Cursor cursor,
guint32  time_
 

Grabs the pointer to a specific window.

Requires a corresponding call to pointer_ungrab().

Arguments:

Parameters:
owner_events Specifies whether events will be reported as is, or relative to the window.
event_mask Masks only interesting events.
cursor Changes the cursor for the duration of the grab.
time Specifies the time.

GrabStatus Gdk::Window::pointer_grab ( bool  owner_events,
EventMask  event_mask,
const Glib::RefPtr<const Window>&  confine_to,
const Cursor cursor,
guint32  time_
 

void Gdk::Window::pointer_ungrab ( guint32  time_  )  [static]
 

void Gdk::Window::process_all_updates (  )  [static]
 

void Gdk::Window::process_updates ( bool  update_children  ) 
 

void Gdk::Window::raise (  ) 
 

void Gdk::Window::register_dnd (  ) 
 

void Gdk::Window::remove_filter ( GdkFilterFunc  function,
gpointer  data
 

void Gdk::Window::reparent ( const Glib::RefPtr<Window>&  new_parent,
int  x,
int  y
 

void Gdk::Window::resize ( int  width,
int  height
 

void Gdk::Window::scroll ( int  dx,
int  dy
 

void Gdk::Window::set_back_pixmap ( const Glib::RefPtr<Pixmap>&  pixmap,
bool  parent_relative
 

void Gdk::Window::set_background ( const Color color  ) 
 

void Gdk::Window::set_child_shapes (  ) 
 

void Gdk::Window::set_cursor (  ) 
 

Use the parent window's cursor.

For top-level windows this means that it will use the default cursor for the ROOT window.

void Gdk::Window::set_cursor ( const Cursor cursor  ) 
 

void Gdk::Window::set_debug_updates ( bool  setting  )  [static]
 

void Gdk::Window::set_decorations ( WMDecoration  decorations  ) 
 

void Gdk::Window::set_events ( EventMask  event_mask  ) 
 

void Gdk::Window::set_functions ( WMFunction  functions  ) 
 

void Gdk::Window::set_geometry_hints ( GdkGeometry*  geometry,
WindowHints  geom_mask
 

void Gdk::Window::set_group ( const Glib::RefPtr<Window>&  leader  ) 
 

void Gdk::Window::set_icon ( const Glib::RefPtr<Window>&  icon_window,
const Glib::RefPtr<Pixmap>&  pixmap,
const Glib::RefPtr<Bitmap>&  mask
 

void Gdk::Window::set_icon_list ( GList*  pixbufs  ) 
 

void Gdk::Window::set_icon_name ( const Glib::ustring&  name  ) 
 

void Gdk::Window::set_modal_hint ( bool  modal = true  ) 
 

void Gdk::Window::set_override_redirect ( bool  override_redirect = true  ) 
 

void Gdk::Window::set_role ( const Glib::ustring&  role  ) 
 

void Gdk::Window::set_skip_pager_hint ( bool  skips_pager = true  ) 
 

void Gdk::Window::set_skip_taskbar_hint ( bool  skips_taskbar = true  ) 
 

void Gdk::Window::set_sm_client_id ( const Glib::ustring&  sm_client_id  )  [static]
 

bool Gdk::Window::set_static_gravities ( bool  use_static = true  ) 
 

void Gdk::Window::set_title ( const Glib::ustring&  title  ) 
 

void Gdk::Window::set_transient_for ( const Glib::RefPtr<Window>&  parent  ) 
 

void Gdk::Window::set_type_hint ( WindowTypeHint  hint  ) 
 

void Gdk::Window::set_user_data ( gpointer  user_data  ) 
 

void Gdk::Window::shape_combine_mask ( const Glib::RefPtr<Bitmap>&  mask,
int  x,
int  y
 

void Gdk::Window::shape_combine_region ( GdkRegion shape_region,
int  offset_x,
int  offset_y
 

void Gdk::Window::show (  ) 
 

void Gdk::Window::show_unraised (  ) 
 

void Gdk::Window::stick (  ) 
 

void Gdk::Window::thaw_updates (  ) 
 

void Gdk::Window::unfullscreen (  ) 
 

void Gdk::Window::unmaximize (  ) 
 

void Gdk::Window::unstick (  ) 
 

void Gdk::Window::withdraw (  ) 
 


Friends And Related Function Documentation

Glib::RefPtr<Gdk::Window> wrap ( GdkWindowObject*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.3 © 1997-2001