gtk.Window.Window Class Reference

Inheritance diagram for gtk.Window.Window:

gtk.Bin.Bin gtk.Container.Container gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG List of all members.

Public Member Functions

GtkWindowgetWindowStruct ()
 this (GtkWindow *gtkWindow)
 Sets our main struct and passes it to the parent class.
 this (char[] title)
 Creates a top level window with a title Params: title: The Window title.
void move (double x, double y)
 Move the window to an absolute position.
void delegate (Window)[] onActivateDefaultListeners
void addOnActivateDefault (void delegate(Window) dlg)
 extern (C) static void callBackActivateDefault(GtkWindow *windowStruct
void addOnActivateFocus (void delegate(Window) dlg)
 extern (C) static void callBackActivateFocus(GtkWindow *windowStruct
void addOnFrame (gboolean delegate(GdkEvent *, Window) dlg)
 extern (C) static void callBackFrame(GtkWindow *windowStruct
void addOnKeysChanged (void delegate(Window) dlg)
 extern (C) static void callBackKeysChanged(GtkWindow *windowStruct
void addOnMoveFocus (void delegate(GtkDirectionType, Window) dlg)
 extern (C) static void callBackMoveFocus(GtkWindow *windowStruct
void addOnSetFocus (void delegate(Widget, Window) dlg)
 extern (C) static void callBackSetFocus(GtkWindow *windowStruct

Public Attributes

int[char[]] connectedSignals
GdkEventevent
GtkDirectionType arg1
GtkWidgetwidget

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GtkWindowgtkWindow
 the main Gtk struct

Constructor & Destructor Documentation

gtk.Window.Window.this ( GtkWindow gtkWindow  ) 

Sets our main struct and passes it to the parent class.

gtk.Window.Window.this ( char[]  title  ) 

Creates a top level window with a title Params: title: The Window title.


Member Function Documentation

void gtk.Window.Window.addOnActivateDefault ( void delegate(Window dlg  ) 

void gtk.Window.Window.addOnActivateFocus ( void delegate(Window dlg  ) 

void gtk.Window.Window.addOnFrame ( gboolean delegate(GdkEvent *, Window dlg  ) 

void gtk.Window.Window.addOnKeysChanged ( void delegate(Window dlg  ) 

void gtk.Window.Window.addOnMoveFocus ( void delegate(GtkDirectionType, Window dlg  ) 

void gtk.Window.Window.addOnSetFocus ( void delegate(Widget, Window dlg  ) 

void gtk.Window.Window.delegate ( Window   ) 

gtk.Window.Window.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.Window.Window.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.Window.Window.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.Window.Window.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.Window.Window.extern (  ) 

Reimplemented from gtk.Container.Container.

gtk.Window.Window.extern (  ) 

Reimplemented from gtk.Container.Container.

void* gtk.Window.Window.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gtk.Bin.Bin.

GtkWindow* gtk.Window.Window.getWindowStruct (  ) 

void gtk.Window.Window.move ( double  x,
double  y 
)

Move the window to an absolute position.

just calls move(int, int). convinience because GdkEvent structs return the position coords as doubles


Member Data Documentation

GtkDirectionType gtk.Window.Window.arg1

Reimplemented from gtk.Widget.Widget.

int [char[]] gtk.Window.Window.connectedSignals

Reimplemented from gtk.Container.Container.

GdkEvent* gtk.Window.Window.event

Reimplemented from gtk.Widget.Widget.

GtkWindow* gtk.Window.Window.gtkWindow [protected]

the main Gtk struct

GtkWidget* gtk.Window.Window.widget

Reimplemented from gtk.Container.Container.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo