Module dui.Widget
| Methods Summary | |
|---|---|
| protected alias |
EventHandlerR!(Widget , EventButton ) |
| alias |
EventHandlerR!(Widget , EventButton ) |
| alias |
EventHandler!(Widget , EventScroll ) |
| alias |
EventHandler!(Widget , EventMotion ) |
| alias |
EventHandler!(Widget , Event ) |
| alias |
EventHandler!(Widget , Event ) |
| alias |
EventHandlerAfter!(Widget , EventExpose ) |
| alias |
EventHandlerAfter!(Widget , Event ) |
| alias |
EventHandlerR!(Widget , EventKey ) |
| alias |
EventHandlerR!(Widget , EventKey ) |
| alias |
EventHandler!(Widget , EventCrossing ) |
| alias |
EventHandler!(Widget , EventCrossing ) |
| alias |
EventHandlerAfterR!(Widget , EventConfigure ) |
| alias |
EventHandler!(Widget , EventFocus ) |
| alias |
EventHandler!(Widget , EventFocus ) |
| alias |
EventHandler!(Widget , Event ) |
| alias |
EventHandler!(Widget , Event ) |
| alias |
EventHandlerAfterR!(Widget , Event ) |
| alias |
EventHandlerAfterR!(Widget , Event ) |
| alias |
EventHandler!(Widget , EventProperty ) |
| alias |
EventHandler!(Widget , EventSelection ) |
| alias |
EventHandler!(Widget , EventSelection ) |
| alias |
EventHandler!(Widget , EventSelection ) |
| alias |
EventHandler!(Widget , EventProximity ) |
| alias |
EventHandler!(Widget , EventProximity ) |
| alias |
EventHandler!(Widget , EventVisibility ) |
| alias |
EventHandler!(Widget , EventClient ) |
| alias |
EventHandler!(Widget , EventWindowState ) |
| protected Widget |
recoverFromGTK(GtkWidget* gtkwidget) /* selection /* Source side drag signals /* Target side drag signals |
| public void* |
gtk() |
| static GType |
getType() Gets this class type |
| 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 |
| public bit |
getAutoShow() Gets if this object should be show be defaul |
| void |
setAutoShow(bit autoShow) Sets if this object should be show be defaul |
| public char |
toString() |
| void |
dump() |
| void |
widget(GtkWidget* gtkWidget) Sets the GtkWidget for this widget |
| void |
setTooltip(char tipText, char tipPrivate) Sets this widget tooltip |
| void |
setTooltip(String tipText, String tipPrivate) |
| 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 |
| 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() /* Queuing draws 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() Gets the accle path ??? |
| 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(int width, 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) /* Accessibility support todo AtkObject * gtk_widget_get_accessible(gtkW()); /* The following functions must not be called on an already realized widget. |
| 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) /* Widget styles. |
| 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 |
| void |
modifyFont(String font) |
| 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) /* handle composite names for GTK_COMPOSITE_CHILD widgets, the returned name is newly allocated. |
| String |
getCompositeName() get composite name |
| void |
resetRCStyles() /* Descend recursively and set rc-style on all widgets without user styles resetRCStyle |
| void |
pushColorMap(GdkColormap* cmap) /* Push/pop pairs, to change default values upon a widget's creation. |
| void |
pushCompositeChild() pushCompositeChild |
| void |
popCompositeChild() popCompositeChild |
| void |
popColormap() popColormap |
| void |
setDefaultColormap(GdkColormap* colormap) |
| void |
setDirection(TextDirection dir) |
| TextDirection |
getDirection() getDirection |
| void |
setDefaultDirection(TextDirection dir) setDefaultDirection |
| TextDirection |
getDefaultDirection() getDefaultDirection |
| void |
shapeCombineMask(Bitmap shape_mask, int offset_x, int offset_y) /* Counterpart to gdk_window_shape_combine_mask. |
| void |
path(guint* path_length, String path, String path_reversed) |
| void |
classPath(guint* path_length, String path, String path_reversed) classPath |
| void |
setBackground(Color 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 |