Inheritance diagram for Widget:
Style properties are set in resource files. This mechanism is used for configuring such things as the location of the scrollbar arrows through the theme, giving theme authors more control over the look of applications without the need to write a theme engine in C. Use gtkWidgetClassInstallStyleProperty() to install style properties for a widget class, gtkWidgetClassFindStyleProperty() or gtkWidgetClassListStyleProperties() to get information about existing style properties and gtkWidgetStyleGetProperty(), gtkWidgetStyleGet() or gtkWidgetStyleGetValist() to obtain the value of a style property.
Public Member Functions | |
public void | addOnMouseButtonPress (bit delegate(Widget, EventButton) dlg) |
OnMouseButtonPress. | |
public void | addOnMouseButtonRelease (bit delegate(Widget, EventButton) dlg) |
OnMouseButtonPress. | |
public void | addOnMotionNotify (bit delegate(Widget, EventMotion) dlg) |
OnMotionNotify. | |
public void | addOnDelete (bit delegate(Widget, Event) dlg) |
public void | addOnDestroy (bit delegate(Widget, Event) dlg) |
OnDestroy. | |
public void | addOnExpose (bit delegate(Widget, EventExpose) dlg) |
OnExpose. | |
public void | addOnNoExpose (bit delegate(Widget, Event) dlg) |
OnNoExpose. | |
public void | addOnKeyPress (bit delegate(Widget, EventKey) dlg) |
public void | addOnKeyRelease (bit delegate(Widget, EventKey) dlg) |
OnKeyRelease. | |
public void | addOnEnterNotify (bit delegate(Widget, EventCrossing) dlg) |
OnEnterNotify. | |
public void | addOnLeaveNotify (bit delegate(Widget, EventCrossing) dlg) |
OnLeaveNotify. | |
public void | addOnConfigure (bit delegate(Widget, EventConfigure) dlg) |
OnConfigure. | |
public void | addOnFocusIn (bit delegate(Widget, EventFocus) dlg) |
OnFocusIn. | |
public void | addOnFocusOut (bit delegate(Widget, EventFocus) dlg) |
OnFocusOut. | |
public void | addOnMap (bit delegate(Widget, Event) dlg) |
OnMap. | |
public void | addOnUnmap (bit delegate(Widget, Event) dlg) |
OnUnmap. | |
public void | addOnRealize (bit delegate(Widget, Event) dlg) |
OnRealize. | |
public void | addOnUnrealize (bit delegate(Widget, Event) dlg) |
OnUnrealize. | |
public void | addOnPropertyNotify (bit delegate(Widget, EventProperty) dlg) |
OnPropertyNotify. | |
public void | addOnSelectionClear (bit delegate(Widget, EventSelection) dlg) |
OnSelectionClear. | |
public void | addOnSelectionRequest (bit delegate(Widget, EventSelection) dlg) |
OnSelectionRequest. | |
public void | addOnSelectionNotify (bit delegate(Widget, EventSelection) dlg) |
OnSelectionNotify. | |
public void | addOnProximityIn (bit delegate(Widget, EventProximity) dlg) |
OnProximityIn. | |
public void | addOnProximityOut (bit delegate(Widget, EventProximity) dlg) |
OnProximityOut. | |
public void | addOnVisibilityNotify (bit delegate(Widget, EventVisibility) dlg) |
OnVisibilityNotify. | |
public void | addOnClient (bit delegate(Widget, EventClient) dlg) |
OnClient. | |
public void | addOnWindowState (bit delegate(Widget, EventWindowState) dlg) |
OnWindowState. | |
bit | getAutoShow () |
Gets if this object should be show be defaul. | |
void | setAutoShow (bit autoShow) |
Sets if this object should be show be defaul. | |
void | widget (GtkWidget *gtkWidget) |
Sets the GtkWidget for this widget. | |
void | setTooltip (char[] tipText, char[] tipPrivate) |
Sets this widget tooltip. | |
GdkDrawable * | getWindow () |
Gets this widget drawable. | |
GC | getFGgc () |
Gets this widget foreground Graphics Context depending on the widget state. | |
Drawable | getDrawable () |
Gets the drawable for this widget. | |
this (GType type, String firstPropertyName) | |
Creates a new Widget from a types and with a property. | |
void | ref () |
Low level GTK manipulation of the widget. | |
void | unref () |
Low level GTK manipulation of the widget. | |
void | destroy () |
Low level GTK explicitlyt destroy the widget. | |
void | destroyed (Widget w) |
Destroyed??? | |
void | unparent () |
Frees this widget from it parent. | |
void | show () |
Shows this widget. | |
void | showNow () |
Forces to show this widget emidiatly. | |
void | hide () |
Hides this widget. | |
void | showAll () |
Show all children widgets. | |
void | hideAll () |
hides all children widgets | |
void | map () |
Maps the widget - low level GTK / X11 ???. | |
void | unmap () |
UnMaps the widget - low level GTK / X11 ???. | |
void | realize () |
Realizes the widget - low level GTK / X11 ???. | |
void | unrealize () |
UnRealizes the widget - low level GTK / X11 ???. | |
void | draw () |
Requests to draw this widget when convinient. | |
void | drawArea (int x, int y, int width, int height) |
Requestes to draw an area of this widget when convinient. | |
void | resize () |
Requests resizing this widget when convinient. | |
void | sizeRequest (GtkRequisition *requisition) |
Sets the widget desired size. | |
void | sizeAllocate (GtkAllocation *allocation) |
Sets the size Allocations ??? | |
void | getChildRequisition (GtkRequisition *requisition) |
GEts child requisition ??? | |
void | setAccelPath (String accel_path, AccelGroup accel_group) |
Sets the accel path ??? | |
ListG | listAccelClosures () |
List accel closures. | |
bit | mnemonicActivate (bit group_cycling) |
mnemonicActivate | |
bit | activate () |
bit | setScrollAdjustments (Adjustment hadjustment, Adjustment vadjustment) |
setScrollAdjustments | |
void | reparent (Widget newParent) |
reparent | |
bit | intersect (Rectangle *area, Rectangle *intersection) |
intersect | |
void | freezeChildNotify () |
freezeChildNotify | |
GdkRegion * | regionIntersect (GdkRegion *region) |
regionIntersect | |
void | childNofity (String child_property) |
childNofity | |
void | thawChildNotify () |
thawChildNotify | |
bit | isFocus () |
isFocus | |
void | grabFocus () |
grabFocus | |
void | grabDefault () |
grabDefault | |
void | setName (String name) |
setName | |
String | getName () |
getName | |
void | setState (StateType state) |
setState | |
void | setSensitive (bit sensitive) |
setSensitive | |
void | setPaintable (bit app_paintable) |
setPaintable | |
void | setDoubleBuffered (bit double_buffered) |
setDoubleBuffered | |
void | setRedrawOnAllocate (bit redraw_on_allocate) |
setRedrawOnAllocate | |
void | setParent (Widget parent) |
setParent | |
void | setParentWindow (WindowG parent_window) |
setParentWindow | |
void | setChildVisible (bit isVisible) |
setChildVisible | |
bit | getChildVisible () |
getChildVisible | |
Widget | getParent () |
Gets the parent widget. | |
WindowG | getParentWindow () |
Gets the parent window. | |
bit | childFocus (DirectionType direction) |
childFocus | |
void | setSizeRequest (int width, int height) |
Sets the desired size of this widget. | |
int | getWidth () |
Gets the current width of this widget. | |
int | getHeight () |
Gets the current height of this widget. | |
void | getSizeRequest (out int width, out int height) |
Gets the desired size of this widget. | |
void | setEvents (int events) |
Sets the events to listen to removing the current set of events. | |
void | addEvents (int events) |
Add events to listen to without removing the existing ones. | |
void | setExtensionEvents (int mode) |
setExtensionEvents | |
GdkExtensionMode | getExtensionEvents () |
getExtensionEvents | |
Widget | getTopLevel () |
getTopLevel | |
Widget | getAncestor (GType widget_type) |
getAncestor | |
GdkColormap * | getColormap () |
getColormap | |
Visual | getDefaultVisual () |
get default visual | |
Screen | getScreen () |
getScreen | |
bit | hasScreen () |
hasScreen | |
Display | getDisplay () |
Gets the display for this widget. | |
WindowG | getRootWindow () |
getRootWindow | |
GtkSettings * | getSettings () |
get settings | |
Clipboard | getClipboard (GdkAtom selection) |
get clipboard | |
void | setColormap (GdkColormap *colormap) |
Set colormap. | |
int | getEvents () |
Gets events ??? | |
void | getPointer (int *x, int *y) |
getPointer | |
bit | isAncestor (Widget ancestor) |
isAncestor | |
bit | translateCoordinates (Widget src_widget, Widget dest_widget, int src_x, int src_y, int *dest_x, int *dest_y) |
translateCoordinates | |
bit | hideOnDelete () |
hideOnDelete | |
void | setStyle (GtkStyle *style) |
setStyle @ param style | |
void | ensureStyle () |
ensureStyle | |
GtkStyle * | getStyle () |
getStyle | |
void | modifyStyle (GtkRcStyle *style) |
modifyStyle | |
GtkRcStyle * | getModifierStyle () |
getModifierStyle | |
void | modifyFG (StateType state, Color color) |
modifyFG | |
void | modifyBG (StateType state, Color color) |
modifyBG | |
void | modifyText (StateType state, Color color) |
modifyText | |
void | modifyBase (StateType state, Color color) |
modifyBase | |
void | modifyFont (Font font) |
modifies this widget font | |
void | modifyFont (char[] font) |
modifies this widget font from a font description string | |
Context | createPangoContext () |
createPangoContext | |
Context | getPangoContext () |
getPangoContext | |
Layout | createPangoLayout (String text) |
createPangoLayout | |
Pixbuf | renderIcon (Stock stockID, IconSize size, String detail) |
render icon | |
void | setCompositeName (String name) |
Sets a widgets composite name. | |
String | getCompositeName () |
get composite name @ return | |
void | resetRCStyles () |
resetRCStyle | |
void | pushColorMap (GdkColormap *cmap) |
pushColormap | |
void | pushCompositeChild () |
pushCompositeChild | |
void | popCompositeChild () |
popCompositeChild | |
void | popColormap () |
popColormap | |
void | gtk_widget_class_install_style_property (GtkWidgetClass *klass, GParamSpec *pspec) |
todo | |
void | gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass, GParamSpec *pspec, GtkRcPropertyParser parser) |
todo | |
GParamSpec * | gtk_widget_class_find_style_property (GtkWidgetClass *klass, String property_name) |
todo | |
GParamSpec ** | gtk_widget_class_list_style_properties (GtkWidgetClass *klass, guint *n_properties) |
todo | |
void | gtk_widget_style_get_property (gtkW(), String property_name, GValue *value) |
todo | |
void | gtk_widget_style_get_valist (gtkW(), String first_property_name, vaList var_args) |
todo | |
void | gtk_widget_style_get (gtkW(), String first_property_name,...) |
todo | |
void | setDefaultColormap (GdkColormap *colormap) |
setDefault colormap | |
GtkStyle * | gtk_widget_get_default_style (void) |
todo | |
void | setDirection (TextDirection dir) |
setDirection | |
TextDirection | getDirection () |
getDirection | |
void | setDefaultDirection (TextDirection dir) |
setDefaultDirection | |
TextDirection | getDefaultDirection () |
getDefaultDirection | |
void | shapeCombineMask (Bitmap shape_mask, int offset_x, int offset_y) |
shapeCombineMask | |
void | gtk_widget_reset_shapes (gtkW()) |
todo | |
void | path (guint *path_length, String path, String path_reversed) |
path | |
void | classPath (guint *path_length, String path, String path_reversed) |
classPath | |
GType | gtk_requisition_get_type (void) |
todo move this to Requisition | |
GtkRequisition * | gtk_requisition_copy (Requisition *requisition) |
todo move this to Requisition | |
void | gtk_requisition_free (Requisition *requisition) |
todo move this to Requisition | |
GtkWidgetAuxInfo * | _gtk_widget_get_aux_info (gtkW(), gboolean create) |
todo | |
void | _gtk_widget_propagate_hierarchy_changed (gtkW(), GtkWidget *previous_toplevel) |
todo | |
void | _gtk_widget_propagate_screen_changed (gtkW(), GdkScreen *previous_screen) |
todo | |
GdkColormap * | _gtk_widget_peek_colormap (void) |
todo | |
void | setBackground (Color color) |
Sets the background color. | |
void | setCursor (Cursor cursor) |
Sets the cursor. | |
public void | resetCursor () |
Resets the cursor. | |
void | setCursor (CursorType cursorType) |
Sets the cursor. | |
GtkWidget * | gtkW () |
Gets the GtkObject that this Widget is wrapping. | |
Static Public Member Functions | |
GType | getType () |
Gets this class type. | |
Protected Attributes | |
GtkWidget * | gtkWidget |
If true this widget will be automatically shown apon creation if the DUI autoShow is also set to true. |
|
todo
|
|
todo
|
|
todo
|
|
todo
|
|
|
|
Add events to listen to without removing the existing ones.
|
|
OnClient.
|
|
OnConfigure.
Reimplemented in DrawingArea. |
|
|
|
OnDestroy.
|
|
OnEnterNotify.
|
|
OnExpose.
|
|
OnFocusIn.
|
|
OnFocusOut.
|
|
|
|
OnKeyRelease.
|
|
OnLeaveNotify.
|
|
OnMap.
|
|
OnMotionNotify.
|
|
OnMouseButtonPress.
|
|
OnMouseButtonPress.
|
|
OnNoExpose.
|
|
OnPropertyNotify.
|
|
OnProximityIn.
|
|
OnProximityOut.
|
|
OnRealize.
|
|
OnSelectionClear.
|
|
OnSelectionNotify.
|
|
OnSelectionRequest.
|
|
OnUnmap.
|
|
OnUnrealize.
|
|
OnVisibilityNotify.
|
|
OnWindowState.
|
|
childFocus
|
|
childNofity
|
|
classPath
|
|
createPangoContext
|
|
createPangoLayout
|
|
Low level GTK explicitlyt destroy the widget.
|
|
Destroyed???
|
|
Requests to draw this widget when convinient.
|
|
Requestes to draw an area of this widget when convinient.
|
|
ensureStyle
|
|
freezeChildNotify
|
|
getAncestor
|
|
Gets if this object should be show be defaul.
|
|
GEts child requisition ???
|
|
getChildVisible
|
|
get clipboard
|
|
getColormap
|
|
get composite name @ return
|
|
getDefaultDirection
|
|
get default visual
|
|
getDirection
|
|
Gets the display for this widget.
|
|
Gets the drawable for this widget.
|
|
Gets events ???
|
|
getExtensionEvents
|
|
Gets this widget foreground Graphics Context depending on the widget state. This GC are shared through all the widget so any changes will affect other widgets
|
|
Gets the current height of this widget.
|
|
getModifierStyle
|
|
getName
|
|
getPangoContext
|
|
Gets the parent widget.
|
|
Gets the parent window.
|
|
getPointer
|
|
getRootWindow
|
|
getScreen
Reimplemented in Invisible. |
|
get settings
|
|
Gets the desired size of this widget.
|
|
getStyle
|
|
getTopLevel
|
|
Gets this class type.
Reimplemented in Box, DrawingArea, EventBox, HandleBox, HBox, HButtonBox, HPaned, HRuler, HScale, HScrollbar, HSeparator, Image, Item, Layout, List, ListItem, Menu, MenuBar, MenuShell, Misc, Paned, ProgressBar, Range, Ruler, Scale, Scrollbar, ScrolledWindow, Separator, Socket, SpinButton, Statusbar, Table, Toolbar, Tree, TreeItem, TreeView, VBox, VButtonBox, Viewport, VPaned, VRuler, VScale, VScrollbar, VSeparator, and Layout. |
|
Gets the current width of this widget.
|
|
Gets this widget drawable.
|
|
grabDefault
|
|
grabFocus
|
|
todo move this to Requisition
|
|
todo move this to Requisition
|
|
todo move this to Requisition
|
|
todo
|
|
todo
|
|
todo
|
|
todo
|
|
todo
|
|
todo
|
|
todo
|
|
todo
|
|
todo
|
|
Gets the GtkObject that this Widget is wrapping.
|
|
hasScreen
|
|
Hides this widget.
|
|
hides all children widgets
|
|
hideOnDelete
|
|
intersect
|
|
isAncestor
|
|
isFocus
|
|
List accel closures.
|
|
Maps the widget - low level GTK / X11 ???. Seems that this has to be explicitly called before some operations |
|
mnemonicActivate
|
|
modifyBase
|
|
modifyBG
|
|
modifyFG
|
|
modifies this widget font from a font description string
|
|
modifies this widget font
|
|
modifyStyle
|
|
modifyText
|
|
path
|
|
popColormap
|
|
popCompositeChild
|
|
pushColormap
|
|
pushCompositeChild
|
|
Realizes the widget - low level GTK / X11 ???. Seems that this has to be explicitly called before some operations |
|
Low level GTK manipulation of the widget.
|
|
regionIntersect
|
|
render icon
|
|
reparent
|
|
Resets the cursor. don't know if this is implemented by GTK+. Seems that it's not
|
|
resetRCStyle
|
|
Requests resizing this widget when convinient.
|
|
Sets the accel path ???
|
|
Sets if this object should be show be defaul.
|
|
Sets the background color.
|
|
setChildVisible
|
|
Set colormap.
|
|
Sets a widgets composite name. The widget must be a composite child of its parent; see gtk_widget_push_composite_child().
|
|
Sets the cursor.
|
|
Sets the cursor.
|
|
setDefault colormap
|
|
setDefaultDirection
|
|
setDirection
|
|
setDoubleBuffered
|
|
Sets the events to listen to removing the current set of events.
|
|
setExtensionEvents
|
|
setName
|
|
setPaintable
|
|
setParent
|
|
setParentWindow
|
|
setRedrawOnAllocate
|
|
setScrollAdjustments
|
|
setSensitive
|
|
Sets the desired size of this widget.
|
|
setState
|
|
setStyle @ param style
|
|
Sets this widget tooltip.
|
|
shapeCombineMask
|
|
Shows this widget.
|
|
Show all children widgets.
|
|
Forces to show this widget emidiatly.
|
|
Sets the size Allocations ???
|
|
Sets the widget desired size.
|
|
thawChildNotify
|
|
Creates a new Widget from a types and with a property.
|
|
translateCoordinates
|
|
UnMaps the widget - low level GTK / X11 ???.
|
|
Frees this widget from it parent.
|
|
UnRealizes the widget - low level GTK / X11 ???.
|
|
Low level GTK manipulation of the widget.
|
|
Sets the GtkWidget for this widget.
|
|
If true this widget will be automatically shown apon creation if the DUI autoShow is also set to true.
|