- gtkScrolledWindow
GtkScrolledWindow* gtkScrolledWindow;
- getScrolledWindowStruct
GtkScrolledWindow* getScrolledWindowStruct(bool transferOwnership)
- getStruct
void* getStruct()
the main Gtk struct as a void*
- setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
- getType
GType getType()
- addWithViewport
void addWithViewport(Widget child)
Used to add children without native scrolling capabilities. This
is simply a convenience function; it is equivalent to adding the
unscrollable child to a viewport, then adding the viewport to the
scrolled window. If a child has native scrolling, use
gtk_container_add() instead of this function.
- getCaptureButtonPress
bool getCaptureButtonPress()
Return whether button presses are captured during kinetic
scrolling. See gtk_scrolled_window_set_capture_button_press().
- getHadjustment
Adjustment getHadjustment()
Returns the horizontal scrollbar’s adjustment, used to connect the
horizontal scrollbar to the child widget’s horizontal scroll
functionality.
- 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, or -1 if not set.
- getMinContentWidth
int getMinContentWidth()
Gets the minimum content width of @scrolled_window, or -1 if not set.
- 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
for the scrolled window. See gtk_scrolled_window_set_placement().
- getPolicy
void getPolicy(GtkPolicyType hscrollbarPolicy, GtkPolicyType vscrollbarPolicy)
Retrieves the current policy values for the horizontal and vertical
scrollbars. See gtk_scrolled_window_set_policy().
- getPropagateNaturalHeight
bool getPropagateNaturalHeight()
Reports whether the natural height of the child will be calculated and propagated
through the scrolled windows requested natural height.
- getPropagateNaturalWidth
bool getPropagateNaturalWidth()
Reports whether the natural width of the child will be calculated and propagated
through the scrolled windows requested natural width.
- getShadowType
GtkShadowType getShadowType()
Gets the shadow type of the scrolled window. See
gtk_scrolled_window_set_shadow_type().
- getVadjustment
Adjustment getVadjustment()
Returns the vertical scrollbar’s adjustment, used to connect the
vertical scrollbar to the child widget’s vertical scroll functionality.
- getVscrollbar
Widget getVscrollbar()
Returns the vertical scrollbar of @scrolled_window.
- setCaptureButtonPress
void setCaptureButtonPress(bool captureButtonPress)
Changes the behaviour of @scrolled_window with regard to the initial
event that possibly starts kinetic scrolling. When @capture_button_press
is set to %TRUE, the event is captured by the scrolled window, and
then later replayed if it is meant to go to the child widget.
- setHadjustment
void setHadjustment(Adjustment hadjustment)
Sets the #GtkAdjustment for the horizontal scrollbar.
- setKineticScrolling
void setKineticScrolling(bool kineticScrolling)
Turns kinetic scrolling on or off.
Kinetic scrolling only applies to devices with source
%GDK_SOURCE_TOUCHSCREEN.
- setMaxContentHeight
void setMaxContentHeight(int height)
Sets the maximum height that @scrolled_window should keep visible. The
@scrolled_window will grow up to this height before it starts scrolling
the content.
- setMaxContentWidth
void setMaxContentWidth(int width)
Sets the maximum width that @scrolled_window should keep visible. The
@scrolled_window will grow up to this width before it starts scrolling
the content.
- setMinContentHeight
void setMinContentHeight(int height)
Sets the minimum height that @scrolled_window should keep visible.
Note that this can and (usually will) be smaller than the minimum
size of the content.
- setMinContentWidth
void setMinContentWidth(int width)
Sets the minimum width that @scrolled_window should keep visible.
Note that this can and (usually will) be smaller than the minimum
size of the content.
- 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 windows requested natural height.
- setPropagateNaturalWidth
void setPropagateNaturalWidth(bool propagate)
Sets whether the natural width of the child should be calculated and propagated
through the scrolled windows requested natural width.
- setShadowType
void setShadowType(GtkShadowType type)
Changes the type of shadow drawn around the contents of
@scrolled_window.
- 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
for the scrolled window. If no window placement is set for a scrolled
window, it defaults to %GTK_CORNER_TOP_LEFT.
- OnEdgeOvershotDelegateWrapper
class OnEdgeOvershotDelegateWrapper
Undocumented in source.
- onEdgeOvershotListeners
OnEdgeOvershotDelegateWrapper[] onEdgeOvershotListeners;
Undocumented in source.
- addOnEdgeOvershot
gulong addOnEdgeOvershot(void delegate(GtkPositionType, ScrolledWindow) dlg, ConnectFlags connectFlags)
The ::edge-overshot signal is emitted whenever user initiated scrolling
makes the scrolledwindow firmly surpass (ie. with some edge resistance)
the lower or upper limits defined by the adjustment in that orientation.
- callBackEdgeOvershot
void callBackEdgeOvershot(GtkScrolledWindow* scrolledwindowStruct, GtkPositionType pos, OnEdgeOvershotDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
- callBackEdgeOvershotDestroy
void callBackEdgeOvershotDestroy(OnEdgeOvershotDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
- OnEdgeReachedDelegateWrapper
class OnEdgeReachedDelegateWrapper
Undocumented in source.
- onEdgeReachedListeners
OnEdgeReachedDelegateWrapper[] onEdgeReachedListeners;
Undocumented in source.
- addOnEdgeReached
gulong addOnEdgeReached(void delegate(GtkPositionType, ScrolledWindow) dlg, ConnectFlags connectFlags)
The ::edge-reached signal is emitted whenever user-initiated scrolling
makes the scrolledwindow exactly reaches the lower or upper limits
defined by the adjustment in that orientation.
- callBackEdgeReached
void callBackEdgeReached(GtkScrolledWindow* scrolledwindowStruct, GtkPositionType pos, OnEdgeReachedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
- callBackEdgeReachedDestroy
void callBackEdgeReachedDestroy(OnEdgeReachedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
- OnMoveFocusOutDelegateWrapper
class OnMoveFocusOutDelegateWrapper
Undocumented in source.
- onMoveFocusOutListeners
OnMoveFocusOutDelegateWrapper[] onMoveFocusOutListeners;
Undocumented in source.
- addOnMoveFocusOut
gulong addOnMoveFocusOut(void delegate(GtkDirectionType, ScrolledWindow) dlg, ConnectFlags connectFlags)
The ::move-focus-out signal is a
[keybinding signal]GtkBindingSignal which gets
emitted when focus is moved away from the scrolled window by a
keybinding. The #GtkWidget::move-focus signal is emitted with
@direction_type on this scrolled windows toplevel parent in the
container hierarchy. The default bindings for this signal are
Tab + Ctrl and Tab + Ctrl + Shift.
- callBackMoveFocusOut
void callBackMoveFocusOut(GtkScrolledWindow* scrolledwindowStruct, GtkDirectionType directionType, OnMoveFocusOutDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
- callBackMoveFocusOutDestroy
void callBackMoveFocusOutDestroy(OnMoveFocusOutDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
- OnScrollChildDelegateWrapper
class OnScrollChildDelegateWrapper
Undocumented in source.
- onScrollChildListeners
OnScrollChildDelegateWrapper[] onScrollChildListeners;
Undocumented in source.
- addOnScrollChild
gulong addOnScrollChild(bool delegate(GtkScrollType, bool, ScrolledWindow) dlg, ConnectFlags connectFlags)
The ::scroll-child signal is a
[keybinding signal]GtkBindingSignal
which gets emitted when a keybinding that scrolls is pressed.
The horizontal or vertical adjustment is updated which triggers a
signal that the scrolled windows child may listen to and scroll itself.
- callBackScrollChild
int callBackScrollChild(GtkScrolledWindow* scrolledwindowStruct, GtkScrollType scroll, bool horizontal, OnScrollChildDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
- callBackScrollChildDestroy
void callBackScrollChildDestroy(OnScrollChildDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
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>