TestTreeView

This tests the GtkD tree widget \todo report bug to ng: nested class with same name of other class was not used<br> test if this works:<br> class A {}<br> class B { <br> class A{} <br> method (){ new A;}<br> }<br>

Constructors

this
this()
Undocumented in source.

Members

Classes

HTreeNode
class HTreeNode
Undocumented in source.

Enums

columns
enum columns
Undocumented in source.

Functions

moveCursorCallBack
bool moveCursorCallBack(GtkMovementStep step, int direction, TreeView treeView)
Undocumented in source. Be warned that the author may not have intended to support it.
peek
TreeIter peek()
Undocumented in source. Be warned that the author may not have intended to support it.
pop
TreeIter pop()
Undocumented in source. Be warned that the author may not have intended to support it.
push
void push(TreeIter ti)
Undocumented in source. Be warned that the author may not have intended to support it.
rowActivatedCallback
void rowActivatedCallback(TreePath path, TreeViewColumn column, TreeView treeView)
Undocumented in source. Be warned that the author may not have intended to support it.
setup
TreeView setup()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

h
TreeIter[12] h;
Undocumented in source.
image
Image image;
Undocumented in source.
stack
int stack;
Undocumented in source.

Inherited Members

From ScrolledWindow

gtkScrolledWindow
GtkScrolledWindow* gtkScrolledWindow;

the main Gtk struct

getScrolledWindowStruct
GtkScrolledWindow* getScrolledWindowStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getChild
Widget getChild()

Gets the child widget of @scrolled_window.

getHadjustment
Adjustment getHadjustment()

Returns the horizontal scrollbar’s adjustment.

getHasFrame
bool getHasFrame()

Gets whether the scrolled window draws a frame.

getHscrollbar
Widget getHscrollbar()

Returns the horizontal scrollbar of @scrolled_window.

getKineticScrolling
bool getKineticScrolling()

Returns the specified kinetic scrolling behavior.

getMaxContentHeight
int getMaxContentHeight()

Returns the maximum content height set.

getMaxContentWidth
int getMaxContentWidth()

Returns the maximum content width set.

getMinContentHeight
int getMinContentHeight()

Gets the minimal content height of @scrolled_window.

getMinContentWidth
int getMinContentWidth()

Gets the minimum content width of @scrolled_window.

getOverlayScrolling
bool getOverlayScrolling()

Returns whether overlay scrolling is enabled for this scrolled window.

getPlacement
GtkCornerType getPlacement()

Gets the placement of the contents with respect to the scrollbars.

getPolicy
void getPolicy(GtkPolicyType hscrollbarPolicy, GtkPolicyType vscrollbarPolicy)

Retrieves the current policy values for the horizontal and vertical scrollbars.

getPropagateNaturalHeight
bool getPropagateNaturalHeight()

Reports whether the natural height of the child will be calculated and propagated through the scrolled window’s requested natural height.

getPropagateNaturalWidth
bool getPropagateNaturalWidth()

Reports whether the natural width of the child will be calculated and propagated through the scrolled window’s requested natural width.

getVadjustment
Adjustment getVadjustment()

Returns the vertical scrollbar’s adjustment.

getVscrollbar
Widget getVscrollbar()

Returns the vertical scrollbar of @scrolled_window.

setChild
void setChild(Widget child)

Sets the child widget of @scrolled_window.

setHadjustment
void setHadjustment(Adjustment hadjustment)

Sets the GtkAdjustment for the horizontal scrollbar.

setHasFrame
void setHasFrame(bool hasFrame)

Changes the frame drawn around the contents of @scrolled_window.

setKineticScrolling
void setKineticScrolling(bool kineticScrolling)

Turns kinetic scrolling on or off.

setMaxContentHeight
void setMaxContentHeight(int height)

Sets the maximum height that @scrolled_window should keep visible.

setMaxContentWidth
void setMaxContentWidth(int width)

Sets the maximum width that @scrolled_window should keep visible.

setMinContentHeight
void setMinContentHeight(int height)

Sets the minimum height that @scrolled_window should keep visible.

setMinContentWidth
void setMinContentWidth(int width)

Sets the minimum width that @scrolled_window should keep visible.

setOverlayScrolling
void setOverlayScrolling(bool overlayScrolling)

Enables or disables overlay scrolling for this scrolled window.

setPlacement
void setPlacement(GtkCornerType windowPlacement)

Sets the placement of the contents with respect to the scrollbars for the scrolled window.

setPolicy
void setPolicy(GtkPolicyType hscrollbarPolicy, GtkPolicyType vscrollbarPolicy)

Sets the scrollbar policy for the horizontal and vertical scrollbars.

setPropagateNaturalHeight
void setPropagateNaturalHeight(bool propagate)

Sets whether the natural height of the child should be calculated and propagated through the scrolled window’s requested natural height.

setPropagateNaturalWidth
void setPropagateNaturalWidth(bool propagate)

Sets whether the natural width of the child should be calculated and propagated through the scrolled window’s requested natural width.

setVadjustment
void setVadjustment(Adjustment vadjustment)

Sets the GtkAdjustment for the vertical scrollbar.

unsetPlacement
void unsetPlacement()

Unsets the placement of the contents with respect to the scrollbars.

addOnEdgeOvershot
gulong addOnEdgeOvershot(void delegate(GtkPositionType, ScrolledWindow) dlg, ConnectFlags connectFlags)

Emitted whenever user initiated scrolling makes the scrolled window firmly surpass the limits defined by the adjustment in that orientation.

addOnEdgeReached
gulong addOnEdgeReached(void delegate(GtkPositionType, ScrolledWindow) dlg, ConnectFlags connectFlags)

Emitted whenever user-initiated scrolling makes the scrolled window exactly reach the lower or upper limits defined by the adjustment in that orientation.

addOnMoveFocusOut
gulong addOnMoveFocusOut(void delegate(GtkDirectionType, ScrolledWindow) dlg, ConnectFlags connectFlags)

Emitted when focus is moved away from the scrolled window by a keybinding.

addOnScrollChild
gulong addOnScrollChild(bool delegate(GtkScrollType, bool, ScrolledWindow) dlg, ConnectFlags connectFlags)

Emitted when a keybinding that scrolls is pressed.

Meta