class Inti::Gdk::Window

Name

class Inti::Gdk::Window -- 

Synopsis

class Inti::Gdk::Window is declared in the header inti/gdk/window.h.

Superclasses. Drawable

Subclasses. none

Class members

Inner Classes.
class Attributes

Public Enumerations.
enum Class
enum Type

Public Constructors.
Window (Window * parent, const Attributes & attributes)

Public Methods.
GdkWindow * gdk_window () const
void destroy ()
Type type ()
void show ()
void hide ()
void withdraw ()
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 (Window * parent, int x, int y)
void clear ()
void clear (int x, int y, int width, int height)
void raise ()
void lower ()
void set_override_redirect (bool setting)
void shape_combine_mask (Bitmap * shape_mask, int x_offset, int y_offset)
bool is_visible () const
bool is_viewable () const
void set_geometry_hints (const Geometry & geometry)
void begin_paint (const Rectangle & rect)
void begin_paint (const Region & region)
void end_paint ()
void set_title (const string & str)
void set_title (const char * str)
void set_role (const string & str)
void set_role (const char * str)
void set_transient_for (Window * transient_parent)
void set_background (const Color & color)
void unset_background ()
void set_background_pixmap (Pixmap * pixmap, bool parent_relative = false)
void set_cursor (const Cursor & cursor)
void unset_cursor ()
void get_geometry (int * x, int * y, int * width, int * height, int * depth = 0) const
void get_position (int * x, int * y) const
Window * get_pointer (int * x, int * y, ModifierTypeField * modifiers) const
Window * parent () const
Window * toplevel () const
vector<Window*> children () const
EventMaskField events () const
void set_events (EventMaskField event_mask)
void set_icon (Window * window)
void set_icon (Bitmap * icon, Bitmap * mask)
void set_icon_name (const string & str)
void set_icon_name (const char * str)
void set_group (Window * group_leader)
void set_decorations (WMDecorationField decorations)
void set_functions (WMFunctionField functions)
void register_dnd ()
void invalidate (const Rectangle & rect, bool invalidate_children)
void invalidate (const Region & region, bool invalidate_children)
Region * get_update_area () const
void freeze_updates ()
void thaw_updates ()
void process_updates (bool update_children)

Public Functions.
bool set_static_gravities (bool setting)
void process_all_updates ()
vector<Window*> list_toplevels ()

Protected Constructors.
Window (GdkWindowObject * src, GdkWindowObjectClass * orig)

Description

Public Enumerations

enum Inti::Gdk::Window::Class

INPUT_OUTPUT 
INPUT_ONLY 

enum Inti::Gdk::Window::Type

TOPLEVEL 
CHILD 
DIALOG 
TEMP 

Public Constructors

method Inti::Gdk::Window::Window

Window (Window * parent, const Attributes & attributes)

parent 
attributes 

Public Methods

method Inti::Gdk::Window::gdk_window

GdkWindow * gdk_window () const

method Inti::Gdk::Window::destroy

void destroy ()

method Inti::Gdk::Window::type

Type type ()

method Inti::Gdk::Window::show

void show ()

method Inti::Gdk::Window::hide

void hide ()

method Inti::Gdk::Window::withdraw

void withdraw ()

method Inti::Gdk::Window::move

void move (int x, int y)

x 
y 

method Inti::Gdk::Window::resize

void resize (int width, int height)

width 
height 

method Inti::Gdk::Window::move_resize

void move_resize (int x, int y, int width, int height)

x 
y 
width 
height 

method Inti::Gdk::Window::reparent

void reparent (Window * parent, int x, int y)

parent 
x 
y 

method Inti::Gdk::Window::clear

void clear ()

method Inti::Gdk::Window::clear

void clear (int x, int y, int width, int height)

x 
y 
width 
height 

method Inti::Gdk::Window::raise

void raise ()

method Inti::Gdk::Window::lower

void lower ()

method Inti::Gdk::Window::set_override_redirect

void set_override_redirect (bool setting)

setting 

method Inti::Gdk::Window::shape_combine_mask

void shape_combine_mask (Bitmap * shape_mask, int x_offset, int y_offset)

shape_mask 
x_offset 
y_offset 

method Inti::Gdk::Window::is_visible

bool is_visible () const

method Inti::Gdk::Window::is_viewable

bool is_viewable () const

method Inti::Gdk::Window::set_geometry_hints

void set_geometry_hints (const Geometry & geometry)

geometry 

method Inti::Gdk::Window::begin_paint

void begin_paint (const Rectangle & rect)

rect 

method Inti::Gdk::Window::begin_paint

void begin_paint (const Region & region)

region 

method Inti::Gdk::Window::end_paint

void end_paint ()

method Inti::Gdk::Window::set_title

void set_title (const string & str)

str 

method Inti::Gdk::Window::set_title

void set_title (const char * str)

str 

method Inti::Gdk::Window::set_role

void set_role (const string & str)

str 

method Inti::Gdk::Window::set_role

void set_role (const char * str)

str 

method Inti::Gdk::Window::set_transient_for

void set_transient_for (Window * transient_parent)

transient_parent 

method Inti::Gdk::Window::set_background

void set_background (const Color & color)

color 

method Inti::Gdk::Window::unset_background

void unset_background ()

method Inti::Gdk::Window::set_background_pixmap

void set_background_pixmap (Pixmap * pixmap, bool parent_relative = false)

pixmap 
parent_relative 

method Inti::Gdk::Window::set_cursor

void set_cursor (const Cursor & cursor)

cursor 

method Inti::Gdk::Window::unset_cursor

void unset_cursor ()

method Inti::Gdk::Window::get_geometry

void get_geometry (int * x, int * y, int * width, int * height, int * depth = 0) const

x 
y 
width 
height 
depth 

method Inti::Gdk::Window::get_position

void get_position (int * x, int * y) const

x 
y 

method Inti::Gdk::Window::get_pointer

Window * get_pointer (int * x, int * y, ModifierTypeField * modifiers) const

x 
y 
modifiers 

method Inti::Gdk::Window::parent

Window * parent () const

method Inti::Gdk::Window::toplevel

Window * toplevel () const

method Inti::Gdk::Window::children

vector<Window*> children () const

method Inti::Gdk::Window::events

EventMaskField events () const

method Inti::Gdk::Window::set_events

void set_events (EventMaskField event_mask)

event_mask 

method Inti::Gdk::Window::set_icon

void set_icon (Window * window)

window 

method Inti::Gdk::Window::set_icon

void set_icon (Bitmap * icon, Bitmap * mask)

icon 
mask 

method Inti::Gdk::Window::set_icon_name

void set_icon_name (const string & str)

str 

method Inti::Gdk::Window::set_icon_name

void set_icon_name (const char * str)

str 

method Inti::Gdk::Window::set_group

void set_group (Window * group_leader)

group_leader 

method Inti::Gdk::Window::set_decorations

void set_decorations (WMDecorationField decorations)

decorations 

method Inti::Gdk::Window::set_functions

void set_functions (WMFunctionField functions)

functions 

method Inti::Gdk::Window::register_dnd

void register_dnd ()

method Inti::Gdk::Window::invalidate

void invalidate (const Rectangle & rect, bool invalidate_children)

rect 
invalidate_children 

method Inti::Gdk::Window::invalidate

void invalidate (const Region & region, bool invalidate_children)

region 
invalidate_children 

method Inti::Gdk::Window::get_update_area

Region * get_update_area () const

method Inti::Gdk::Window::freeze_updates

void freeze_updates ()

method Inti::Gdk::Window::thaw_updates

void thaw_updates ()

method Inti::Gdk::Window::process_updates

void process_updates (bool update_children)

update_children 

Public Functions

function Inti::Gdk::Window::set_static_gravities

bool set_static_gravities (bool setting)

setting 

function Inti::Gdk::Window::process_all_updates

void process_all_updates ()

function Inti::Gdk::Window::list_toplevels

vector<Window*> list_toplevels ()

Protected Constructors

method Inti::Gdk::Window::Window

Window (GdkWindowObject * src, GdkWindowObjectClass * orig)

src 
orig