Misc Class Reference

Inheritance diagram for Misc:

Widget Arrow Image List of all members.

Detailed Description

Base for many widgets to provide alignment and padding for all it's children.


Public Member Functions

 this (GtkWidget *gtkWidget)
 Creates a Misc from a GtkMisc.
void setAlignment (gfloat xalign, gfloat yalign)
 Sets the alignement.
void getAlignment (gfloat *xalign, gfloat *yalign)
 Gets the alignement.
void setPadding (gint xpad, gint ypad)
 Sets the pading.
void getPadding (gint *xpad, gint *ypad)
 Gets the pading.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

void Misc.getAlignment gfloat *  xalign,
gfloat *  yalign
 

Gets the alignement.

Parameters:
xalign 
yalign 

void Misc.getPadding gint *  xpad,
gint *  ypad
 

Gets the pading.

Parameters:
xpad 
ypad 

GType Misc.getType  )  [static]
 

Gets this class type.

Returns:
type

Reimplemented from Widget.

Reimplemented in Image.

void Misc.setAlignment gfloat  xalign,
gfloat  yalign
 

Sets the alignement.

Parameters:
xalign 
yalign 

void Misc.setPadding gint  xpad,
gint  ypad
 

Sets the pading.

Parameters:
xpad 
ypad 

Misc.this GtkWidget *  gtkWidget  ) 
 

Creates a Misc from a GtkMisc.

Parameters:
gtkWidget the GtkMisc

Reimplemented from Widget.

Reimplemented in Arrow.


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