gtk.Fixed.Fixed Class Reference

Inheritance diagram for gtk.Fixed.Fixed:

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

Public Member Functions

GtkFixedgetFixedStruct ()
 this (GtkFixed *gtkFixed)
 Sets our main struct and passes it to the parent class.
 this ()
 Creates a new GtkFixed.
void put (Widget widget, int x, int y)
 Adds a widget to a GtkFixed container at the given position.
void move (Widget widget, int x, int y)
 Moves a child of a GtkFixed container to the given position.
int getHasWindow ()
 Gets whether the GtkFixed has its own GdkWindow.
void setHasWindow (int hasWindow)
 Sets whether a GtkFixed widget is created with a separate GdkWindow for widget->window or not.

Protected Member Functions

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

Protected Attributes

GtkFixedgtkFixed
 the main Gtk struct

Constructor & Destructor Documentation

gtk.Fixed.Fixed.this ( GtkFixed gtkFixed  ) 

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

gtk.Fixed.Fixed.this (  ) 

Creates a new GtkFixed.

Returns: a new GtkFixed.


Member Function Documentation

GtkFixed* gtk.Fixed.Fixed.getFixedStruct (  ) 

int gtk.Fixed.Fixed.getHasWindow (  ) 

Gets whether the GtkFixed has its own GdkWindow.

See gdk_fixed_set_has_window(). fixed: a GtkWidget Returns: TRUE if fixed has its own window.

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

the main Gtk struct as a void*

Reimplemented from gtk.Container.Container.

void gtk.Fixed.Fixed.move ( Widget  widget,
int  x,
int  y 
)

Moves a child of a GtkFixed container to the given position.

fixed: a GtkFixed. widget: the child widget. x: the horizontal position to move the widget to. y: the vertical position to move the widget to.

void gtk.Fixed.Fixed.put ( Widget  widget,
int  x,
int  y 
)

Adds a widget to a GtkFixed container at the given position.

fixed: a GtkFixed. widget: the widget to add. x: the horizontal position to place the widget at. y: the vertical position to place the widget at.

void gtk.Fixed.Fixed.setHasWindow ( int  hasWindow  ) 

Sets whether a GtkFixed widget is created with a separate GdkWindow for widget->window or not.

(By default, it will be created with no separate GdkWindow). This function must be called while the GtkFixed is not realized, for instance, immediately after the window is created. This function was added to provide an easy migration path for older applications which may expect GtkFixed to have a separate window. fixed: a GtkFixed has_window: TRUE if a separate window should be created Child Property Details The "x" child property "x" gint : Read / Write X position of child widget. Default value: 0


Member Data Documentation

GtkFixed* gtk.Fixed.Fixed.gtkFixed [protected]

the main Gtk struct


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