public class Arrow extends Misc
Widget.ButtonPressEvent, Widget.ButtonReleaseEvent, Widget.Destroy, Widget.Draw, Widget.EnterNotifyEvent, Widget.FocusInEvent, Widget.FocusOutEvent, Widget.Hide, Widget.KeyPressEvent, Widget.KeyReleaseEvent, Widget.LeaveNotifyEvent, Widget.MapEvent, Widget.MotionNotifyEvent, Widget.PopupMenu, Widget.QueryTooltip, Widget.ScrollEvent, Widget.SizeAllocate, Widget.UnmapEvent, Widget.VisibilityNotifyEvent
Constructor and Description |
---|
Arrow(ArrowType direction,
ShadowType type)
Create a new Arrow widget with given direction and shadow type.
|
Modifier and Type | Method and Description |
---|---|
float |
getArrowScaling()
Returns amount of spaced used by arrow in the widget.
|
ArrowType |
getArrowType()
Returns the direction of Arrow.
|
ShadowType |
getShadowType()
Returns the shadow type of Arrow.
|
void |
setArrowType(ArrowType direction)
|
void |
setShadowType(ShadowType type)
|
getAlignmentX, getAlignmentY, getPaddingX, getPaddingY, setAlignment, setPadding
activate, addEvents, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, destroy, getAllocatedHeight, getAllocatedWidth, getAllocation, getCanDefault, getCanFocus, getHasFocus, getName, getParent, getPreferredHeightForWidthMinimum, getPreferredHeightForWidthNatural, getPreferredHeightMinimum, getPreferredHeightNatural, getPreferredWidthForHeightMinimum, getPreferredWidthForHeightNatural, getPreferredWidthMinimum, getPreferredWidthNatural, getRequestMode, getRequisition, getSensitive, getStyleContext, getToplevel, getWindow, grabAdd, grabDefault, grabFocus, grabRemove, hide, isSensitive, overrideBackground, overrideColor, overrideFont, queueDraw, queueDrawArea, realize, setAlignHorizontal, setAlignVertical, setCanDefault, setCanFocus, setEvents, setExpandHorizontal, setExpandVertical, setName, setSensitive, setSizeRequest, setTooltipMarkup, setTooltipText, show, showAll
public Arrow(ArrowType direction, ShadowType type)
public float getArrowScaling()
0.0
to 1.0
. Its default is 0.7
,
though really, it's actual value will entirely be up to the theme
engine.public ArrowType getArrowType()
setArrowType()
for possible values.public ShadowType getShadowType()
setShadowType()
for possible values.public void setArrowType(ArrowType direction)
UP
,
DOWN
, LEFT
,
RIGHT
. There's also a special mode,
NONE
which is an Arrow Widget but with no
graphic presently drawn on it.
The default is RIGHT
.
public void setShadowType(ShadowType type)