| 15. Graphic User Interface |
| Module GTK |
inherit GTKSupport : GTKSupport
constant GTK.FALSE
constant GTK.GDK_ACTION_ASK
constant GTK.GDK_ACTION_COPY
constant GTK.GDK_ACTION_DEFAULT
constant GTK.GDK_ACTION_LINK
constant GTK.GDK_ACTION_MOVE
constant GTK.GDK_ACTION_PRIVATE
constant GTK.GDK_ALL_EVENTS_MASK
constant GTK.GDK_AND
constant GTK.GDK_AND_INVERT
constant GTK.GDK_AND_REVERSE
constant GTK.GDK_ARROW
constant GTK.GDK_BASED_ARROW_DOWN
constant GTK.GDK_BASED_ARROW_UP
constant GTK.GDK_BOAT
constant GTK.GDK_BOGOSITY
constant GTK.GDK_BOTTOM_LEFT_CORNER
constant GTK.GDK_BOTTOM_RIGHT_CORNER
constant GTK.GDK_BOTTOM_SIDE
constant GTK.GDK_BOTTOM_TEE
constant GTK.GDK_BOX_SPIRAL
constant GTK.GDK_BUTTON1_MASK
constant GTK.GDK_BUTTON1_MOTION_MASK
constant GTK.GDK_BUTTON2_MASK
constant GTK.GDK_BUTTON2_MOTION_MASK
constant GTK.GDK_BUTTON3_MASK
constant GTK.GDK_BUTTON3_MOTION_MASK
constant GTK.GDK_BUTTON_MOTION_MASK
constant GTK.GDK_BUTTON_PRESS_MASK
constant GTK.GDK_BUTTON_RELEASE_MASK
constant GTK.GDK_CAP_BUTT
constant GTK.GDK_CAP_NOT_LAST
constant GTK.GDK_CAP_PROJECTING
constant GTK.GDK_CAP_ROUND
constant GTK.GDK_CENTER_PTR
constant GTK.GDK_CIRCLE
constant GTK.GDK_CLEAR
constant GTK.GDK_CLOCK
constant GTK.GDK_COFFEE_MUG
constant GTK.GDK_CONTROL_MASK
constant GTK.GDK_COPY
constant GTK.GDK_COPY_INVERT
constant GTK.GDK_CROSS
constant GTK.GDK_CROSSHAIR
constant GTK.GDK_CROSS_REVERSE
constant GTK.GDK_DECOR_ALL
constant GTK.GDK_DECOR_BORDER
constant GTK.GDK_DECOR_MAXIMIZE
constant GTK.GDK_DECOR_MENU
constant GTK.GDK_DECOR_MINIMIZE
constant GTK.GDK_DECOR_RESIZEH
constant GTK.GDK_DECOR_TITLE
constant GTK.GDK_DIAMOND_CROSS
constant GTK.GDK_DOT
constant GTK.GDK_DOTBOX
constant GTK.GDK_DOUBLE_ARROW
constant GTK.GDK_DRAFT_LARGE
constant GTK.GDK_DRAFT_SMALL
constant GTK.GDK_DRAG_PROTO_MOTIF
constant GTK.GDK_DRAG_PROTO_ROOTWIN
constant GTK.GDK_DRAG_PROTO_XDND
constant GTK.GDK_DRAPED_BOX
constant GTK.GDK_ENTER_NOTIFY_MASK
constant GTK.GDK_EQUIV
constant GTK.GDK_EVEN_ODD_RULE
constant GTK.GDK_EXCHANGE
constant GTK.GDK_EXPOSURE_MASK
constant GTK.GDK_EXTENSION_EVENTS_ALL
constant GTK.GDK_EXTENSION_EVENTS_CURSOR
constant GTK.GDK_EXTENSION_EVENTS_NONE
constant GTK.GDK_FLEUR
constant GTK.GDK_FOCUS_CHANGE_MASK
constant GTK.GDK_FUNC_ALL
constant GTK.GDK_FUNC_CLOSE
constant GTK.GDK_FUNC_MAXIMIZE
constant GTK.GDK_FUNC_MINIMIZE
constant GTK.GDK_FUNC_MOVE
constant GTK.GDK_FUNC_RESIZE
constant GTK.GDK_GL_ACCUM_ALPHA_SIZE
constant GTK.GDK_GL_ACCUM_BLUE_SIZE
constant GTK.GDK_GL_ACCUM_GREEN_SIZE
constant GTK.GDK_GL_ACCUM_RED_SIZE
constant GTK.GDK_GL_ALPHA_SIZE
constant GTK.GDK_GL_AUX_BUFFERS
constant GTK.GDK_GL_BLUE_SIZE
constant GTK.GDK_GL_BUFFER_SIZE
constant GTK.GDK_GL_DEPTH_SIZE
constant GTK.GDK_GL_DOUBLEBUFFER
constant GTK.GDK_GL_GREEN_SIZE
constant GTK.GDK_GL_LEVEL
constant GTK.GDK_GL_NONE
constant GTK.GDK_GL_RED_SIZE
constant GTK.GDK_GL_RGBA
constant GTK.GDK_GL_STENCIL_SIZE
constant GTK.GDK_GL_STEREO
constant GTK.GDK_GL_TRANSPARENT_ALPHA_VALUE_EXT
constant GTK.GDK_GL_TRANSPARENT_BLUE_VALUE_EXT
constant GTK.GDK_GL_TRANSPARENT_GREEN_VALUE_EXT
constant GTK.GDK_GL_TRANSPARENT_INDEX_VALUE_EXT
constant GTK.GDK_GL_TRANSPARENT_RED_VALUE_EXT
constant GTK.GDK_GL_TRANSPARENT_TYPE_EXT
constant GTK.GDK_GL_USE_GL
constant GTK.GDK_GL_X_VISUAL_TYPE_EXT
constant GTK.GDK_GOBBLER
constant GTK.GDK_GUMBY
constant GTK.GDK_HAND1
constant GTK.GDK_HAND2
constant GTK.GDK_HEART
constant GTK.GDK_ICON
constant GTK.GDK_IM_PREEDIT_AREA
constant GTK.GDK_IM_PREEDIT_CALLBACKS
constant GTK.GDK_IM_PREEDIT_MASK
constant GTK.GDK_IM_PREEDIT_NONE
constant GTK.GDK_IM_PREEDIT_NOTHING
constant GTK.GDK_IM_PREEDIT_POSITION
constant GTK.GDK_IM_STATUS_AREA
constant GTK.GDK_IM_STATUS_CALLBACKS
constant GTK.GDK_IM_STATUS_MASK
constant GTK.GDK_IM_STATUS_NONE
constant GTK.GDK_IM_STATUS_NOTHING
constant GTK.GDK_INVERT
constant GTK.GDK_IRON_CROSS
constant GTK.GDK_JOIN_BEVEL
constant GTK.GDK_JOIN_MITER
constant GTK.GDK_JOIN_ROUND
constant GTK.GDK_KEY_PRESS_MASK
constant GTK.GDK_KEY_RELEASE_MASK
constant GTK.GDK_LEAVE_NOTIFY_MASK
constant GTK.GDK_LEFTBUTTON
constant GTK.GDK_LEFT_PTR
constant GTK.GDK_LEFT_SIDE
constant GTK.GDK_LEFT_TEE
constant GTK.GDK_LINE_DOUBLE_DASH
constant GTK.GDK_LINE_ON_OFF_DASH
constant GTK.GDK_LINE_SOLID
constant GTK.GDK_LL_ANGLE
constant GTK.GDK_LOCK_MASK
constant GTK.GDK_LR_ANGLE
constant GTK.GDK_MAN
constant GTK.GDK_MIDDLEBUTTON
constant GTK.GDK_MOD1_MASK
constant GTK.GDK_MOD2_MASK
constant GTK.GDK_MOD3_MASK
constant GTK.GDK_MOD4_MASK
constant GTK.GDK_MOD5_MASK
constant GTK.GDK_MOUSE
constant GTK.GDK_NAND
constant GTK.GDK_NOOP
constant GTK.GDK_OPAQUE_STIPPLED
constant GTK.GDK_OR
constant GTK.GDK_OR_INVERT
constant GTK.GDK_OR_REVERSE
constant GTK.GDK_OVERLAP_RECTANGLE_IN
constant GTK.GDK_OVERLAP_RECTANGLE_OUT
constant GTK.GDK_OVERLAP_RECTANGLE_PART
constant GTK.GDK_PENCIL
constant GTK.GDK_PIRATE
constant GTK.GDK_PLUS
constant GTK.GDK_POINTER_MOTION_HINT_MASK
constant GTK.GDK_POINTER_MOTION_MASK
constant GTK.GDK_PROPERTY_CHANGE_MASK
constant GTK.GDK_PROP_MODE_APPEND
constant GTK.GDK_PROP_MODE_PREPEND
constant GTK.GDK_PROP_MODE_REPLACE
constant GTK.GDK_PROXIMITY_IN_MASK
constant GTK.GDK_PROXIMITY_OUT_MASK
constant GTK.GDK_QUESTION_ARROW
constant GTK.GDK_RIGHTBUTTON
constant GTK.GDK_RIGHT_PTR
constant GTK.GDK_RIGHT_SIDE
constant GTK.GDK_RIGHT_TEE
constant GTK.GDK_RTL_LOGO
constant GTK.GDK_SAILBOAT
constant GTK.GDK_SB_DOWN_ARROW
constant GTK.GDK_SB_H_DOUBLE_ARROW
constant GTK.GDK_SB_LEFT_ARROW
constant GTK.GDK_SB_RIGHT_ARROW
constant GTK.GDK_SB_UP_ARROW
constant GTK.GDK_SB_V_DOUBLE_ARROW
constant GTK.GDK_SELECTION_TYPE_ATOM
constant GTK.GDK_SELECTION_TYPE_BITMAP
constant GTK.GDK_SELECTION_TYPE_COLORMAP
constant GTK.GDK_SELECTION_TYPE_DRAWABLE
constant GTK.GDK_SELECTION_TYPE_INTEGER
constant GTK.GDK_SELECTION_TYPE_PIXMAP
constant GTK.GDK_SELECTION_TYPE_STRING
constant GTK.GDK_SELECTION_TYPE_WINDOW
constant GTK.GDK_SET
constant GTK.GDK_SHIFT_MASK
constant GTK.GDK_SHUTTLE
constant GTK.GDK_SIZING
constant GTK.GDK_SOLID
constant GTK.GDK_SPIDER
constant GTK.GDK_SPRAYCAN
constant GTK.GDK_STAR
constant GTK.GDK_STIPPLED
constant GTK.GDK_STRUCTURE_MASK
constant GTK.GDK_TARGET
constant GTK.GDK_TARGET_BITMAP
constant GTK.GDK_TARGET_COLORMAP
constant GTK.GDK_TARGET_DRAWABLE
constant GTK.GDK_TARGET_PIXMAP
constant GTK.GDK_TARGET_STRING
constant GTK.GDK_TCROSS
constant GTK.GDK_TILED
constant GTK.GDK_TOP_LEFT_ARROW
constant GTK.GDK_TOP_LEFT_CORNER
constant GTK.GDK_TOP_RIGHT_CORNER
constant GTK.GDK_TOP_SIDE
constant GTK.GDK_TOP_TEE
constant GTK.GDK_TREK
constant GTK.GDK_UL_ANGLE
constant GTK.GDK_UMBRELLA
constant GTK.GDK_UR_ANGLE
constant GTK.GDK_VISIBILITY_NOTIFY_MASK
constant GTK.GDK_WATCH
constant GTK.GDK_WINDING_RULE
constant GTK.GDK_WINDOW_CHILD
constant GTK.GDK_WINDOW_DIALOG
constant GTK.GDK_WINDOW_FOREIGN
constant GTK.GDK_WINDOW_ROOT
constant GTK.GDK_WINDOW_TEMP
constant GTK.GDK_WINDOW_TOPLEVEL
constant GTK.GDK_XOR
constant GTK.GDK_XTERM
constant GTK.GNOME_DOCK_BOTTOM
constant GTK.GNOME_DOCK_ITEM_BEH_EXCLUSIVE
constant GTK.GNOME_DOCK_ITEM_BEH_LOCKED
constant GTK.GNOME_DOCK_ITEM_BEH_NEVER_FLOATING
constant GTK.GNOME_DOCK_ITEM_BEH_NEVER_HORIZONTAL
constant GTK.GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL
constant GTK.GNOME_DOCK_ITEM_BEH_NORMAL
constant GTK.GNOME_DOCK_LEFT
constant GTK.GNOME_DOCK_RIGHT
constant GTK.GNOME_DOCK_TOP
constant GTK.GNOME_FONT_PICKER_MODE_FONT_INFO
constant GTK.GNOME_FONT_PICKER_MODE_PIXMAP
constant GTK.GNOME_FONT_PICKER_MODE_UNKNOWN
constant GTK.GNOME_FONT_PICKER_MODE_USER_WIDGET
constant GTK.GNOME_ICON_LIST_ICONS
constant GTK.GNOME_ICON_LIST_IS_EDITABLE
constant GTK.GNOME_ICON_LIST_STATIC_TEXT
constant GTK.GNOME_ICON_LIST_TEXT_BELOW
constant GTK.GNOME_ICON_LIST_TEXT_RIGHT
constant GTK.GNOME_MESSAGE_BOX_ERROR
constant GTK.GNOME_MESSAGE_BOX_GENERIC
constant GTK.GNOME_MESSAGE_BOX_INFO
constant GTK.GNOME_MESSAGE_BOX_QUESTION
constant GTK.GNOME_MESSAGE_BOX_WARNING
constant GTK.GNOME_PREFERENCES_ALWAYS
constant GTK.GNOME_PREFERENCES_NEVER
constant GTK.GNOME_PREFERENCES_USER
constant GTK.GNOME_Panel_ORIENT_DOWN
constant GTK.GNOME_Panel_ORIENT_LEFT
constant GTK.GNOME_Panel_ORIENT_RIGHT
constant GTK.GNOME_Panel_ORIENT_UP
constant GTK.GNOME_STOCK_BUTTON_APPLY
constant GTK.GNOME_STOCK_BUTTON_CANCEL
constant GTK.GNOME_STOCK_BUTTON_CLOSE
constant GTK.GNOME_STOCK_BUTTON_DOWN
constant GTK.GNOME_STOCK_BUTTON_FONT
constant GTK.GNOME_STOCK_BUTTON_HELP
constant GTK.GNOME_STOCK_BUTTON_NEXT
constant GTK.GNOME_STOCK_BUTTON_NO
constant GTK.GNOME_STOCK_BUTTON_OK
constant GTK.GNOME_STOCK_BUTTON_PREV
constant GTK.GNOME_STOCK_BUTTON_UP
constant GTK.GNOME_STOCK_BUTTON_YES
constant GTK.GNOME_STOCK_MENU_ABOUT
constant GTK.GNOME_STOCK_MENU_ALIGN_CENTER
constant GTK.GNOME_STOCK_MENU_ALIGN_JUSTIFY
constant GTK.GNOME_STOCK_MENU_ALIGN_LEFT
constant GTK.GNOME_STOCK_MENU_ALIGN_RIGHT
constant GTK.GNOME_STOCK_MENU_ATTACH
constant GTK.GNOME_STOCK_MENU_BACK
constant GTK.GNOME_STOCK_MENU_BLANK
constant GTK.GNOME_STOCK_MENU_BOOK_BLUE
constant GTK.GNOME_STOCK_MENU_BOOK_GREEN
constant GTK.GNOME_STOCK_MENU_BOOK_OPEN
constant GTK.GNOME_STOCK_MENU_BOOK_RED
constant GTK.GNOME_STOCK_MENU_BOOK_YELLOW
constant GTK.GNOME_STOCK_MENU_BOTTOM
constant GTK.GNOME_STOCK_MENU_CDROM
constant GTK.GNOME_STOCK_MENU_CLOSE
constant GTK.GNOME_STOCK_MENU_CONVERT
constant GTK.GNOME_STOCK_MENU_COPY
constant GTK.GNOME_STOCK_MENU_CUT
constant GTK.GNOME_STOCK_MENU_DOWN
constant GTK.GNOME_STOCK_MENU_EXEC
constant GTK.GNOME_STOCK_MENU_EXIT
constant GTK.GNOME_STOCK_MENU_FIRST
constant GTK.GNOME_STOCK_MENU_FONT
constant GTK.GNOME_STOCK_MENU_FORWARD
constant GTK.GNOME_STOCK_MENU_HOME
constant GTK.GNOME_STOCK_MENU_INDEX
constant GTK.GNOME_STOCK_MENU_JUMP_TO
constant GTK.GNOME_STOCK_MENU_LAST
constant GTK.GNOME_STOCK_MENU_LINE_IN
constant GTK.GNOME_STOCK_MENU_MAIL
constant GTK.GNOME_STOCK_MENU_MAIL_FWD
constant GTK.GNOME_STOCK_MENU_MAIL_NEW
constant GTK.GNOME_STOCK_MENU_MAIL_RCV
constant GTK.GNOME_STOCK_MENU_MAIL_RPL
constant GTK.GNOME_STOCK_MENU_MAIL_SND
constant GTK.GNOME_STOCK_MENU_MIC
constant GTK.GNOME_STOCK_MENU_MIDI
constant GTK.GNOME_STOCK_MENU_NEW
constant GTK.GNOME_STOCK_MENU_OPEN
constant GTK.GNOME_STOCK_MENU_PASTE
constant GTK.GNOME_STOCK_MENU_PREF
constant GTK.GNOME_STOCK_MENU_PRINT
constant GTK.GNOME_STOCK_MENU_PROP
constant GTK.GNOME_STOCK_MENU_QUIT
constant GTK.GNOME_STOCK_MENU_REDO
constant GTK.GNOME_STOCK_MENU_REFRESH
constant GTK.GNOME_STOCK_MENU_REVERT
constant GTK.GNOME_STOCK_MENU_SAVE
constant GTK.GNOME_STOCK_MENU_SAVE_AS
constant GTK.GNOME_STOCK_MENU_SCORES
constant GTK.GNOME_STOCK_MENU_SEARCH
constant GTK.GNOME_STOCK_MENU_SPELLCHECK
constant GTK.GNOME_STOCK_MENU_SRCHRPL
constant GTK.GNOME_STOCK_MENU_STOP
constant GTK.GNOME_STOCK_MENU_TEXT_BOLD
constant GTK.GNOME_STOCK_MENU_TEXT_ITALIC
constant GTK.GNOME_STOCK_MENU_TEXT_STRIKEOUT
constant GTK.GNOME_STOCK_MENU_TEXT_UNDERLINE
constant GTK.GNOME_STOCK_MENU_TIMER
constant GTK.GNOME_STOCK_MENU_TIMER_STOP
constant GTK.GNOME_STOCK_MENU_TOP
constant GTK.GNOME_STOCK_MENU_TRASH
constant GTK.GNOME_STOCK_MENU_TRASH_FULL
constant GTK.GNOME_STOCK_MENU_UNDELETE
constant GTK.GNOME_STOCK_MENU_UNDO
constant GTK.GNOME_STOCK_MENU_UP
constant GTK.GNOME_STOCK_MENU_VOLUME
constant GTK.GNOME_STOCK_PIXMAP_ABOUT
constant GTK.GNOME_STOCK_PIXMAP_ADD
constant GTK.GNOME_STOCK_PIXMAP_ALIGN_CENTER
constant GTK.GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY
constant GTK.GNOME_STOCK_PIXMAP_ALIGN_LEFT
constant GTK.GNOME_STOCK_PIXMAP_ALIGN_RIGHT
constant GTK.GNOME_STOCK_PIXMAP_ATTACH
constant GTK.GNOME_STOCK_PIXMAP_BACK
constant GTK.GNOME_STOCK_PIXMAP_BOOK_BLUE
constant GTK.GNOME_STOCK_PIXMAP_BOOK_GREEN
constant GTK.GNOME_STOCK_PIXMAP_BOOK_OPEN
constant GTK.GNOME_STOCK_PIXMAP_BOOK_RED
constant GTK.GNOME_STOCK_PIXMAP_BOOK_YELLOW
constant GTK.GNOME_STOCK_PIXMAP_BOTTOM
constant GTK.GNOME_STOCK_PIXMAP_CDROM
constant GTK.GNOME_STOCK_PIXMAP_CLEAR
constant GTK.GNOME_STOCK_PIXMAP_CLOSE
constant GTK.GNOME_STOCK_PIXMAP_COLORSELECTOR
constant GTK.GNOME_STOCK_PIXMAP_CONVERT
constant GTK.GNOME_STOCK_PIXMAP_COPY
constant GTK.GNOME_STOCK_PIXMAP_CUT
constant GTK.GNOME_STOCK_PIXMAP_DISABLED
constant GTK.GNOME_STOCK_PIXMAP_DOWN
constant GTK.GNOME_STOCK_PIXMAP_EXEC
constant GTK.GNOME_STOCK_PIXMAP_EXIT
constant GTK.GNOME_STOCK_PIXMAP_FIRST
constant GTK.GNOME_STOCK_PIXMAP_FOCUSED
constant GTK.GNOME_STOCK_PIXMAP_FONT
constant GTK.GNOME_STOCK_PIXMAP_FORWARD
constant GTK.GNOME_STOCK_PIXMAP_HELP
constant GTK.GNOME_STOCK_PIXMAP_HOME
constant GTK.GNOME_STOCK_PIXMAP_INDEX
constant GTK.GNOME_STOCK_PIXMAP_JUMP_TO
constant GTK.GNOME_STOCK_PIXMAP_LAST
constant GTK.GNOME_STOCK_PIXMAP_LINE_IN
constant GTK.GNOME_STOCK_PIXMAP_MAIL
constant GTK.GNOME_STOCK_PIXMAP_MAIL_FWD
constant GTK.GNOME_STOCK_PIXMAP_MAIL_NEW
constant GTK.GNOME_STOCK_PIXMAP_MAIL_RCV
constant GTK.GNOME_STOCK_PIXMAP_MAIL_RPL
constant GTK.GNOME_STOCK_PIXMAP_MAIL_SND
constant GTK.GNOME_STOCK_PIXMAP_MIC
constant GTK.GNOME_STOCK_PIXMAP_MIDI
constant GTK.GNOME_STOCK_PIXMAP_MULTIPLE
constant GTK.GNOME_STOCK_PIXMAP_NEW
constant GTK.GNOME_STOCK_PIXMAP_NOT
constant GTK.GNOME_STOCK_PIXMAP_OPEN
constant GTK.GNOME_STOCK_PIXMAP_PASTE
constant GTK.GNOME_STOCK_PIXMAP_PREFERENCES
constant GTK.GNOME_STOCK_PIXMAP_PRINT
constant GTK.GNOME_STOCK_PIXMAP_PROPERTIES
constant GTK.GNOME_STOCK_PIXMAP_QUIT
constant GTK.GNOME_STOCK_PIXMAP_REDO
constant GTK.GNOME_STOCK_PIXMAP_REFRESH
constant GTK.GNOME_STOCK_PIXMAP_REGULAR
constant GTK.GNOME_STOCK_PIXMAP_REMOVE
constant GTK.GNOME_STOCK_PIXMAP_REVERT
constant GTK.GNOME_STOCK_PIXMAP_SAVE
constant GTK.GNOME_STOCK_PIXMAP_SAVE_AS
constant GTK.GNOME_STOCK_PIXMAP_SCORES
constant GTK.GNOME_STOCK_PIXMAP_SEARCH
constant GTK.GNOME_STOCK_PIXMAP_SPELLCHECK
constant GTK.GNOME_STOCK_PIXMAP_SRCHRPL
constant GTK.GNOME_STOCK_PIXMAP_STOP
constant GTK.GNOME_STOCK_PIXMAP_TABLE_BORDERS
constant GTK.GNOME_STOCK_PIXMAP_TABLE_FILL
constant GTK.GNOME_STOCK_PIXMAP_TEXT_BOLD
constant GTK.GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST
constant GTK.GNOME_STOCK_PIXMAP_TEXT_INDENT
constant GTK.GNOME_STOCK_PIXMAP_TEXT_ITALIC
constant GTK.GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST
constant GTK.GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT
constant GTK.GNOME_STOCK_PIXMAP_TEXT_UNDERLINE
constant GTK.GNOME_STOCK_PIXMAP_TEXT_UNINDENT
constant GTK.GNOME_STOCK_PIXMAP_TIMER
constant GTK.GNOME_STOCK_PIXMAP_TIMER_STOP
constant GTK.GNOME_STOCK_PIXMAP_TOP
constant GTK.GNOME_STOCK_PIXMAP_TRASH
constant GTK.GNOME_STOCK_PIXMAP_TRASH_FULL
constant GTK.GNOME_STOCK_PIXMAP_TYPE_DATA
constant GTK.GNOME_STOCK_PIXMAP_TYPE_FILE
constant GTK.GNOME_STOCK_PIXMAP_TYPE_GPIXMAP
constant GTK.GNOME_STOCK_PIXMAP_TYPE_IMLIB
constant GTK.GNOME_STOCK_PIXMAP_TYPE_IMLIB_SCALED
constant GTK.GNOME_STOCK_PIXMAP_TYPE_NONE
constant GTK.GNOME_STOCK_PIXMAP_TYPE_PATH
constant GTK.GNOME_STOCK_PIXMAP_TYPE_WIDGET
constant GTK.GNOME_STOCK_PIXMAP_UNDELETE
constant GTK.GNOME_STOCK_PIXMAP_UNDO
constant GTK.GNOME_STOCK_PIXMAP_UP
constant GTK.GNOME_STOCK_PIXMAP_VOLUME
constant GTK.ACCEL_LOCKED
constant GTK.ACCEL_SIGNAL_VISIBLE
constant GTK.ACCEL_VISIBLE
constant GTK.ANCHOR_CENTER
constant GTK.ANCHOR_E
constant GTK.ANCHOR_EAST
constant GTK.ANCHOR_N
constant GTK.ANCHOR_NE
constant GTK.ANCHOR_NORTH
constant GTK.ANCHOR_NORTH_EAST
constant GTK.ANCHOR_NORTH_WEST
constant GTK.ANCHOR_NW
constant GTK.ANCHOR_S
constant GTK.ANCHOR_SE
constant GTK.ANCHOR_SOUTH
constant GTK.ANCHOR_SOUTH_EAST
constant GTK.ANCHOR_SOUTH_WEST
constant GTK.ANCHOR_SW
constant GTK.ANCHOR_W
constant GTK.ANCHOR_WEST
constant GTK.APP_PAINTABLE
constant GTK.ARROW_DOWN
constant GTK.ARROW_LEFT
constant GTK.ARROW_RIGHT
constant GTK.ARROW_UP
constant GTK.BUTTONBOX_DEFAULT_STYLE
constant GTK.BUTTONBOX_EDGE
constant GTK.BUTTONBOX_END
constant GTK.BUTTONBOX_SPREAD
constant GTK.BUTTONBOX_START
constant GTK.BUTTON_DRAGS
constant GTK.BUTTON_EXPANDS
constant GTK.BUTTON_IGNORED
constant GTK.BUTTON_SELECTS
constant GTK.CALENDAR_NO_MONTH_CHANGE
constant GTK.CALENDAR_SHOW_DAY_NAMES
constant GTK.CALENDAR_SHOW_HEADING
constant GTK.CALENDAR_SHOW_WEEK_NUMBERS
constant GTK.CALENDAR_WEEK_START_MONDAY
constant GTK.CAN_DEFAULT
constant GTK.CAN_FOCUS
constant GTK.CELL_EMPTY
constant GTK.CELL_PIXMAP
constant GTK.CELL_PIXTEXT
constant GTK.CELL_TEXT
constant GTK.CELL_WIDGET
constant GTK.CENTIMETERS
constant GTK.CLIST_ADD_MODE
constant GTK.CLIST_AUTO_RESIZE_BLOCKED
constant GTK.CLIST_AUTO_SORT
constant GTK.CLIST_DRAW_DRAG_LINE
constant GTK.CLIST_DRAW_DRAG_RECT
constant GTK.CLIST_IN_DRAG
constant GTK.CLIST_REORDERABLE
constant GTK.CLIST_ROW_HEIGHT_SET
constant GTK.CLIST_SHOW_TITLES
constant GTK.CLIST_USE_DRAG_ICONS
constant GTK.CLOCK_DECREASING
constant GTK.CLOCK_INCREASING
constant GTK.CLOCK_REALTIME
constant GTK.COMPOSITE_CHILD
constant GTK.CORNER_BOTTOM_LEFT
constant GTK.CORNER_BOTTOM_RIGHT
constant GTK.CORNER_TOP_LEFT
constant GTK.CORNER_TOP_RIGHT
constant GTK.CTREE_EXPANDER_CIRCULAR
constant GTK.CTREE_EXPANDER_NONE
constant GTK.CTREE_EXPANDER_SQUARE
constant GTK.CTREE_EXPANDER_TRIANGLE
constant GTK.CTREE_EXPANSION_COLLAPSE
constant GTK.CTREE_EXPANSION_COLLAPSE_RECURSIVE
constant GTK.CTREE_EXPANSION_EXPAND
constant GTK.CTREE_EXPANSION_EXPAND_RECURSIVE
constant GTK.CTREE_EXPANSION_TOGGLE
constant GTK.CTREE_EXPANSION_TOGGLE_RECURSIVE
constant GTK.CTREE_LINES_DOTTED
constant GTK.CTREE_LINES_NONE
constant GTK.CTREE_LINES_SOLID
constant GTK.CTREE_LINES_TABBED
constant GTK.CTREE_POS_AFTER
constant GTK.CTREE_POS_AS_CHILD
constant GTK.CTREE_POS_BEFORE
constant GTK.CURVE_TYPE_FREE
constant GTK.CURVE_TYPE_LINEAR
constant GTK.CURVE_TYPE_SPLINE
constant GTK.DATABOX_BARS
constant GTK.DATABOX_LINES
constant GTK.DATABOX_NOT_DISPLAYED
constant GTK.DATABOX_POINTS
constant GTK.DEST_DEFAULT_ALL
constant GTK.DEST_DEFAULT_DROP
constant GTK.DEST_DEFAULT_HIGHLIGHT
constant GTK.DEST_DEFAULT_MOTION
constant GTK.DIRECTION_LEFT
constant GTK.DIRECTION_RIGHT
constant GTK.DIR_DOWN
constant GTK.DIR_LEFT
constant GTK.DIR_RIGHT
constant GTK.DIR_TAB_BACKWARD
constant GTK.DIR_TAB_FORWARD
constant GTK.DIR_UP
constant GTK.EXPAND
constant GTK.FILL
constant GTK.FILL_X
constant GTK.FILL_Y
constant GTK.HAS_DEFAULT
constant GTK.HAS_FOCUS
constant GTK.HAS_GRAB
constant GTK.INCHES
constant GTK.JUSTIFY_CENTER
constant GTK.JUSTIFY_FILL
constant GTK.JUSTIFY_LEFT
constant GTK.JUSTIFY_RIGHT
constant GTK.LEFT_RIGHT
constant GTK.MAPPED
constant GTK.NO_REPARENT
constant GTK.NO_WINDOW
constant GTK.ORIENTATION_HORIZONTAL
constant GTK.ORIENTATION_VERTICAL
constant GTK.PACK_END
constant GTK.PACK_EXPAND
constant GTK.PACK_START
constant GTK.PARENT_SENSITIVE
constant GTK.PIXELS
constant GTK.POLICY_ALWAYS
constant GTK.POLICY_AUTOMATIC
constant GTK.POLICY_NEVER
constant GTK.POS_BOTTOM
constant GTK.POS_LEFT
constant GTK.POS_RIGHT
constant GTK.POS_TOP
constant GTK.PREVIEW_COLOR
constant GTK.PREVIEW_GRAYSCALE
constant GTK.PROGRESS_BOTTOM_TO_TOP
constant GTK.PROGRESS_CONTINUOUS
constant GTK.PROGRESS_DISCRETE
constant GTK.PROGRESS_LEFT_TO_RIGHT
constant GTK.PROGRESS_RIGHT_TO_LEFT
constant GTK.PROGRESS_TOP_TO_BOTTOM
constant GTK.RC_STYLE
constant GTK.REALIZED
constant GTK.RELIEF_HALF
constant GTK.RELIEF_NONE
constant GTK.RELIEF_NORMAL
constant GTK.RESIZE_IMMEDIATE
constant GTK.RESIZE_PARENT
constant GTK.RESIZE_QUEUE
constant GTK.RUN_BOTH
constant GTK.RUN_FIRST
constant GTK.RUN_LAST
constant GTK.RUN_NO_RECURSE
constant GTK.SCROLL_JUMP
constant GTK.SCROLL_NONE
constant GTK.SCROLL_PAGE_BACKWARD
constant GTK.SCROLL_PAGE_FORWARD
constant GTK.SCROLL_STEP_BACKWARD
constant GTK.SCROLL_STEP_FORWARD
constant GTK.SELECTION_BROWSE
constant GTK.SELECTION_EXTENDED
constant GTK.SELECTION_MULTIPLE
constant GTK.SELECTION_SINGLE
constant GTK.SENSITIVE
constant GTK.SHADOW_ETCHED_IN
constant GTK.SHADOW_ETCHED_OUT
constant GTK.SHADOW_IN
constant GTK.SHADOW_NONE
constant GTK.SHADOW_OUT
constant GTK.SHRINK
constant GTK.SIDE_BOTTOM
constant GTK.SIDE_LEFT
constant GTK.SIDE_RIGHT
constant GTK.SIDE_TOP
constant GTK.SORT_ASCENDING
constant GTK.SORT_DESCENDING
constant GTK.SPIN_END
constant GTK.SPIN_HOME
constant GTK.SPIN_PAGE_BACKWARD
constant GTK.SPIN_PAGE_FORWARD
constant GTK.SPIN_STEP_BACKWARD
constant GTK.SPIN_STEP_FORWARD
constant GTK.SPIN_USER_DEFINED
constant GTK.STATE_ACTIVE
constant GTK.STATE_INSENSITIVE
constant GTK.STATE_NORMAL
constant GTK.STATE_PRELIGHT
constant GTK.STATE_SELECTED
constant GTK.TOOLBAR_BOTH
constant GTK.TOOLBAR_ICONS
constant GTK.TOOLBAR_TEXT
constant GTK.TOPLEVEL
constant GTK.TOP_BOTTOM
constant GTK.TREE_VIEW_ITEM
constant GTK.TREE_VIEW_LINE
constant GTK.TROUGH_END
constant GTK.TROUGH_JUMP
constant GTK.TROUGH_NONE
constant GTK.TROUGH_START
constant GTK.UPDATE_ALWAYS
constant GTK.UPDATE_CONTINUOUS
constant GTK.UPDATE_DELAYED
constant GTK.UPDATE_DISCONTINUOUS
constant GTK.UPDATE_IF_VALID
constant GTK.VISIBILITY_FULL
constant GTK.VISIBILITY_NONE
constant GTK.VISIBILITY_PARTIAL
constant GTK.VISIBLE
constant GTK.WINDOW_DIALOG
constant GTK.WINDOW_POPUP
constant GTK.WINDOW_TOPLEVEL
constant GTK.WIN_POS_CENTER
constant GTK.WIN_POS_MOUSE
constant GTK.WIN_POS_NONE
constant GTK.TRUE
void GTK.applet_widget_gtk_main()
Special corba main loop for gnome panel applets
void GTK.applet_widget_gtk_main_quit()
Exit from the applet_widget_gtk_main function on the next iteration.
int GTK.false()
Always returns false.
void GTK.flush()
Flush GDK. Not normally needed, can be useful while doing calculations.
array GTK.gnome_init(string app_id, string app_version, array argv, int|void corba_init_flags)
Initializes the application. This sets up all of the GNOME internals and prepares them (imlib, gdk/gtk, session-management, triggers, sound, user preferences). If corba init flags are specified, corba initialization is done as well as gnome initialization. corba_init_flags is 0 or more of GNORBA_INIT_SERVER_FUNC (1), GNORBA_INIT_DISABLE_COOKIES (2) and GNORBA_INIT_CORBA_PRIO_HIGH (4)
void GTK.grab_add(GTK.Widget widget)
void GTK.grab_remove(GTK.Widget widget)
array GTK.gtk_init(array|void argc, int|void no_pgtkrc)
Low level GTK init function (used by setup_gtk). This function is more or less equivalent to the C-GTK+ function gtk_init. setup_gtk does some extra things (such as parsing ~/.pgtkrc).
void GTK.low_flush()
Flush, but do not process events. Not normally needed.
void GTK.main()
Start GTK in blocking mode. Doing this disables asynchronous I/O in pike. You can return -1 from main in pike to run GTK (and the rest of pike) in asynchrounous mode.
int GTK.main_iteration_do(int block)
Run one iteration in the mainloop. If block is true, wait for an event before returning.
int GTK.main_level()
Return the current recursion depth.
void GTK.main_quit()
Exit from the gtk_main function on the next iteration.
void GTK.parse_rc(string rc)
Takes a string and reads it as a gtkrc file.
GDK.Window GTK.root_window()
Returns the root window of the current display
int GTK.set_new_signal_convention(int n)
array GTK.setup_gtk(array|void argv, int|void do_not_parse_rc)
Initialize GTK, and all that comes with it. Also parses $HOME/.pgtkrc and $HOME/.gtkrc if they exists. The single argument, if supplied, is the argument array passed to the program. This is used to set default window titles etc. The second argument, if supplied, indicates that pike specific *rc files should not be parsed.
The most common usage is GTK.setup_gtk(argv);
int GTK.true()
Always returns true.
| CLASS GTK.AccelGroup |
An AccelGroup stores keybindings. A group is automatically created by W(MenuFactory)
NOIMG
inherit GTK.Data : Data
GTK.AccelGroup add_accel(GTK.Widget widget, string signal, int key, int modifiers, int flags)
the widget is the one in which the signal specified by 'signal' recides.
The key is the character code (such as 'a' for the a key and '@' for the @ key), and modifiers is a bitmap of one or more bits, the bits are . Flags is one or more of ACCEL_LOCKED , ACCEL_SIGNAL_VISIBLE and ACCEL_VISIBLE
GTK.AccelGroup GTK.AccelGroup()
Create a new accelerator group
GTK.AccelGroup destroy()
GTK.AccelGroup remove(GTK.Widget widget, int key, int modifiers)
Remove all bindings for the specified key/mask in the specified object.
| CLASS GTK.AccelLabel |
A label for accelerators.
inherit GTK.Label : Label
GTK.AccelLabel GTK.AccelLabel(string text)
int get_accel_width()
int refetch()
GTK.AccelLabel set_accel_widget(GTK.Widget accel_widget)
| CLASS GTK.Adjustment |
The GTK.Adjustment object represents a value which has an associated lower and upper bound, together with step and page increments, and a page size. It is used within several GTK+ widgets, including GtkSpinButton, GtkViewport, and GtkRange (which is a base class for GtkHScrollbar, GtkVScrollbar, GtkHScale, and GtkVScale).
The GtkAdjustment object does not update the value itself. Instead it is left up to the owner of the GtkAdjustment to control the value.
The owner of the GtkAdjustment typically calls the value_changed() and changed() functions after changing the value or its bounds. This results in the emission of the "value_changed" or "changed" signal respectively.
Signals: changed The adjustment changed in some way
value_changed The value changed
inherit GTK.Data : Data
GTK.Adjustment changed()
Call this when you have modified anything except the value member of the adjustment.
GTK.Adjustment clamp_page(float lower, float upper)
Updates the GTK.Adjustment value to ensure that the range between lower and upper is in the current page (i.e. between value and value + page_size). If the range is larger than the page size, then only the start of it will be in the current page. A "value_changed" signal will be emitted if the value is changed.
GTK.Adjustment GTK.Adjustment(float|void value, float|void lower, float|void upper, float|void step_increment, float|void page_increment, float|void page_size)
The value argument is the initial value you want to give to the adjustment, usually corresponding to the topmost or leftmost position of an adjustable widget. The lower argument specifies the lowest value which the adjustment can hold. The step_increment argument specifies the "smaller" of the two increments by which the user can change the value, while the page_increment is the "larger" one. The page_size argument usually corresponds somehow to the visible area of a panning widget. The upper argument is used to represent the bottom most or right most coordinate in a panning widget's child. Therefore it is not always the largest number that value can take, since the page_size of such widgets is usually non-zero.
All values are optional, they default to 0.0. For most widgets the unit is pixels.
float get_lower()
Get the lower limit
float get_page_increment()
Get the page increment (page down or through click)
float get_page_size()
Get the page size (the actual size of a page)
float get_step_increment()
Get the step increment (arrow click)
float get_upper()
get the upper limit.
float get_value()
Get the value component.
float set_set_lower()
Set the lower limit.
float set_set_page_increment()
Set the page increment (page down or through click)
float set_set_page_size()
Set the page size (the actual size of a page)
float set_set_step_increment()
Set the step increment (arrow click)
float set_set_upper()
Set the upper limit.
GTK.Adjustment set_value(float to)
Set the value component.
| CLASS GTK.Alignment |
The W(Alignment) widget controls the alignment and size of its child widget. It has four settings: xscale, yscale, xalign, and yalign.
The scale settings are used to specify how much the child widget should expand to fill the space allocated to the W(Alignment). The values can range from 0 (meaning the child doesn't expand at all) to 1 (meaning the child expands to fill all of the available space).
The align settings are used to place the child widget within the available area. The values range from 0 (top or left) to 1 (bottom or right). Of course, if the scale settings are both set to 1, the alignment settings have no effect.
NOIMG
inherit GTK.Bin : Bin
GTK.Alignment GTK.Alignment(float xalign, float yalign, float xscale, float yscale)
|
float get_xalign()
the horizontal alignment of the child widget, from 0 (left) to 1 (right).
float get_xscale()
the amount that the child widget expands horizontally to fill up unused space, from 0 to 1. A value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the GTK.Alignment.
float get_yalign()
the vertical alignment of the child widget, from 0 (top) to 1 (bottom).
float get_yscale()
the amount that the child widget expands vertically to fill up unused space, from 0 to 1. The values are similar to xscale.
GTK.Alignment set(float xalign, float yalign, float xscale, float yscale)
|
| CLASS GTK.Arrow |
An arrow pointing in one of four directions. The 'etched' shadow
types does not work.
GTK.Arrow(GTK.ARROW_UP, GTK.SHADOW_OUT)
![]()
GTK.Arrow(GTK.ARROW_LEFT, GTK.SHADOW_IN)
![]()
GTK.Arrow(GTK.ARROW_RIGHT, GTK.SHADOW_IN)
![]()
GTK.Arrow(GTK.ARROW_DOWN, GTK.SHADOW_OUT)
![]()
inherit GTK.Misc : Misc
GTK.Arrow GTK.Arrow(int arrow_type, int shadow_type)
First argument is one of ARROW_DOWN , ARROW_LEFT , ARROW_RIGHT and ARROW_UP , second one of SHADOW_ETCHED_IN , SHADOW_ETCHED_OUT , SHADOW_IN , SHADOW_NONE and SHADOW_OUT .
int get_arrow_type()
Return the arrow type. One of ARROW_DOWN , ARROW_LEFT , ARROW_RIGHT and ARROW_UP .
int get_shadow_type()
Return the shadow type. One of SHADOW_ETCHED_IN , SHADOW_ETCHED_OUT , SHADOW_IN , SHADOW_NONE and SHADOW_OUT .
GTK.Arrow set(int arrow_type, int shadow_type)
First argument is one of ARROW_DOWN , ARROW_LEFT , ARROW_RIGHT and ARROW_UP , second one of SHADOW_ETCHED_IN , SHADOW_ETCHED_OUT , SHADOW_IN , SHADOW_NONE and SHADOW_OUT .
| CLASS GTK.AspectFrame |
A W(Frame) widget that always maintain a specified ratio between width and height. width/height == ratio
GTK.Aspect_frame("Title",0.5,0.5,0.4,0)->add( GTK.Label("Wrong aspect"))->set_usize(200,200)
![]()
inherit GTK.Frame : Frame
GTK.AspectFrame GTK.AspectFrame(string label, float xalign, float yalign, float ratio, int obey_child)
Create a new frame. Arguments are label, xalign, yalign, ratio, obey_child xalign is floats between 0 and 1, 0.0 is upper (or leftmost), 1.0 is lower (or rightmost). If 'obey_child' is true, the frame will use the aspect ratio of it's (one and only) child widget instead of 'ratio'.
GTK.AspectFrame set(float xalign, float yalign, float ratio, int obey_child)
Set the aspec values. Arguments are xalign, yalign, ratio, obey_child xalign is floats between 0 and 1, 0.0 is upper (or leftmost), 1.0 is lower (or rightmost). If 'obey_child' is true, the frame will use the aspect ratio of it's (one and only) child widget instead of 'ratio'.
| CLASS GTK.Bin |
A container that can only contain one child.
inherit GTK.Container : Container
GTK.Widget get_child()
Returns the (one and only) child of this container.
| CLASS GTK.Box |
A box is a container that can contain more than one child. The basic 'Box' class cannot be instantiated, it is a virtual class that only defines some common 'Box' functions shared with all other Box widgets.
inherit GTK.Container : Container
GTK.Box pack_end(GTK.Widget widget, int expandp, int fillp, int padding)
Pack from the right (or bottom) of the box. Arguments are widget, expand, fill, paddingb widget, expand, fill, padding
GTK.Box pack_end_defaults(GTK.Widget widget)
The argument is the widget to add.
GTK.Box pack_start(GTK.Widget widget, int expandp, int fillp, int padding)
Pack from the left (or top) of the box. Argument are widget, expand, fill, padding pack(widget,1,1,0) is equivalent to 'add' or 'pack_start_defaults'
GTK.Box pack_start_defaults(GTK.Widget widget)
The argument is the widget to add. This function is equivalent to 'add'
mapping query_child_packing(GTK.Widget child)
Return a mapping: ([ "expand":expandp, "fill":fillp, "padding":paddingp, "type":type ])
GTK.Box reorder_child(GTK.Widget child, int new_position)
Move widget to pos, pos is an integer, between 0 and sizeof(box->children())-1
GTK.Box set_child_packing(GTK.Widget child_widget, int expandp, int fillp, int padding, int pack_type)
widget, expand, fill, padding, pack_type. If exand is true, the widget will be expanded when the box is resized. If 'fill' is true, the widget will be resized to fill up all available space. Padding is the amount of padding to use, and pack_type is one of PACK_END , PACK_EXPAND and PACK_START .
You can emulate pack_start and pack_end with add and set_child_packing.
GTK.Box set_homogeneous(int homogeneousp)
If true, all widgets in the box will get exactly the same amount of space
GTK.Box set_spacing(int spacing)
This is the amount of spacing (in pixels) inserted beween all widgets
| CLASS GTK.Button |
A container that can only contain one child, and accepts events.
draws a bevelbox around itself.
GTK.Button("A button")
![]()
GTK.Button("A button\nwith multiple lines\nof text")
![]()
GTK.Button()->add(GTK.Image(GDK.Image(0)->set(Image.image(100,40)->test())))
![]()
Signals: clicked Called when the button is pressed, and then released
enter Called when the mouse enters the button
leave Called when the mouse leaves the button
pressed Called when the button is pressed
released Called when the button is released
inherit GTK.Container : Container
GTK.Button clicked()
Emulate a 'clicked' event (press followed by release).
GTK.Button GTK.Button(string|void label_text)
If a string is supplied, a W(Label) is created and added to the button.
GTK.Button enter()
Emulate a 'enter' event.
GTK.Widget child()
The (one and only) child of this container.
int get_relief()
One of RELIEF_HALF , RELIEF_NONE and RELIEF_NORMAL , set with set_relief()
GTK.Button leave()
Emulate a 'leave' event.
GTK.Button pressed()
Emulate a 'press' event.
GTK.Button released()
Emulate a 'release' event.
GTK.Button set_relief(int newstyle)
One of RELIEF_HALF , RELIEF_NONE and RELIEF_NORMAL
| CLASS GTK.ButtonBox |
More or less equivalent to a normal box, but you can set a few layout schemes that are not available for normal boxes. See the hbox and vbox documentation for examples.
inherit GTK.Box : Box
mapping get_child_ipadding()
Return the default inter-child padding ([ "x":xpadding, "y":ypadding ])
mapping get_child_size()
Return the child size as ([ "x":xsize, "y":ysize ])
int get_layout()
Returns the currently configured layout. One of BUTTONBOX_DEFAULT_STYLE , BUTTONBOX_EDGE , BUTTONBOX_END , BUTTONBOX_SPREAD and BUTTONBOX_START
int get_spacing()
Return the spacing that is added between the buttons
GTK.ButtonBox set_child_ipadding(int child_number, int child_padding)
Set the padding for a specific child.
GTK.ButtonBox set_child_size(int child_number, int child_size)
Set the size of a specified child
GTK.ButtonBox set_layout(int layout)
layout is one of BUTTONBOX_DEFAULT_STYLE , BUTTONBOX_EDGE , BUTTONBOX_END , BUTTONBOX_SPREAD and BUTTONBOX_START
GTK.ButtonBox set_spacing(int spacing)
in pixels
| CLASS GTK.CTreeNode |
This is one of the nodes (branch or leaf) of the CTree. They are the equivalent of row numbers in a normal CList.
CTreeNode child()
Returns the first child node
int get_expanded()
Returns the previous sibling (the next on the same level)
int get_is_leaf()
Returns the previous sibling (the next on the same level)
int get_level()
Returns the previous sibling (the next on the same level)
CTreeNode next()
Returns the next sibling (the next on the same level)
GTK.CTreeNode parent()
Returns the parent node
CTreeNode prev()
Returns the previous sibling (the next on the same level)
GTK.CTreeRow row()
Returns the CTreeRow associated with this CTreeNode. DEPRECATED, all CTreeRow functions are also available directly in this object.
| CLASS GTK.CTreeRow |
This class is deprecated.
GTK.CTreeNode get_children()
Return the first child
int get_expanded()
Return 1 if the node is expanded
int get_is_leaf()
Return 1 if the node is a leaf node
int get_level()
Return the level of this node (0 for root, 1 for a child of the root, etc)
GTK.CTreeNode get_parent()
Return the parent node of this node
| CLASS GTK.Calendar |
A calendar widget.
GTK.Calendar();

GTK.Calendar()->select_day( 16 );

Signals: day_selected
day_selected_double_click
month_changed
next_month
next_year
prev_month
prev_year
inherit GTK.Widget : Widget
GTK.Calendar clear_marks()
Remove all day markers
GTK.Calendar GTK.Calendar()
Create a new calendar widget
GTK.Calendar display_options(int options)
Bitwise or of one or more of CALENDAR_NO_MONTH_CHANGE , CALENDAR_SHOW_DAY_NAMES , CALENDAR_SHOW_HEADING , CALENDAR_SHOW_WEEK_NUMBERS and CALENDAR_WEEK_START_MONDAY .
GTK.Calendar freeze()
Suspend all dynamic updating of the widget
mapping get_date()
returns a mapping: ([ "year":year, "month":month, "day":day ])
array get_day()
Return an array of 6x7 days, representing the cells in the currently viewed calendar month.
array get_day_month()
Return an array of 6x7 days, representing the cells in the currently viewed calendar month. The value is the day of month.
int get_focus_col()
The currently focused column
int get_focus_row()
The currently focused row
int get_highlight_col()
The currently highlighted column
int get_highlight_row()
The currently highlighted row
array get_marked_dates()
Returns an array (with 31 elements) with 1es and 0es.
int get_month()
The current month
int get_num_marked_dates()
The number of days that are marked
int get_selected_day()
The currently selected day
int get_year()
The current year
GTK.Calendar mark_day(int day_of_month)
Mark a day
GTK.Calendar select_day(int day_of_month)
Select a certain day of the currently selected month
int select_month(int month, int year)
Select the month to be viewed.
GTK.Calendar set_marked_date_color(int index, GDK.Color color)
Set the color to use to mark dates
GTK.Calendar thaw()
Resume dynamic updating of the widget
GTK.Calendar unmark_day(int day_of_month)
Unmark a day
| CLASS GTK.CheckButton |
Check buttons inherent many properties and functions from the the
toggle buttons, but look a little different. Rather than
being buttons with text inside them, they are small squares with
the text to the right of them. These are often used for toggling
options on and off in applications.
GTK.Check_button( "title" )
![]()
inherit GTK.ToggleButton : ToggleButton
GTK.CheckButton GTK.CheckButton(string|void label)
The argument, if specified, is the label of the item. If no label is specified, use object->add() to add some other widget (such as an pixmap or image widget)
| CLASS GTK.CheckMenuItem |
A check menu item is more or less identical to a check button, but it
should be used in menus.
GTK.CheckMenuItem("Hi there")
![]()
GTK.CheckMenuItem("Hi there")->set_active(1)
![]()
Signals: toggled Called when the state of the menu item is changed
inherit GTK.MenuItem : MenuItem
GTK.CheckMenuItem GTK.CheckMenuItem(string|void label)
The argument, if specified, is the label of the item. If no label is specified, use object->add() to add some other widget (such as an pixmap or image widget)
GTK.CheckMenuItem set_active(int new_state)
State is either 1 or 0. If 1, the button will be 'pressed'.
GTK.CheckMenuItem set_show_toggle(int togglep)
If true, the toggle indicator will be shown
GTK.CheckMenuItem toggled()
Emulate a toggled event
| CLASS GTK.Clist |
The GtkCList widget is a multi-column list widget that is capable
of handling literally thousands of rows of information. Each column
can optionally have a title, which itself is optionally active,
allowing us to bind a function to it's selection.
GTK.Clist(2)->set_column_title(0,"Col 1")->set_column_title(1,"Col 2")->column_titles_show()->set_column_width(0,50)->set_usize(150,70)

Signals: abort_column_resize
click_column Called when a column is clicked
end_selection
extend_selection
resize_column Called when a column is resized
scroll_horizontal
scroll_vertical
select_all
select_row Called when a row is selected
start_selection
toggle_add_mode
toggle_focus_row
undo_selection
unselect_all
unselect_row Called when a row is deselected
inherit GTK.Container : Container
int append(array columns)
The return value of indicates the index of the row that was just added.
'columns' are the texts we want to put in the columns. The size of the array should equal the number of columns in the list.
GTK.Clist clear()
remove all rows
GTK.Clist column_title_active(int column)
Make a specific column title active
GTK.Clist column_title_passive(int column)
Make a specific column title passive
GTK.Clist column_titles_active()
The column titles can be pressed
GTK.Clist column_titles_hide()
Hide the column titles
GTK.Clist column_titles_passive()
The column titles can't be pressed
GTK.Clist column_titles_show()
Show the column titles.
int columns_autosize()
Resize all columns according to their contents
GTK.Clist GTK.Clist(int columns)
Create a new empty clist, columns columns wide.
Not all columns have to be visible, some can be used to store data that is related to a certain cell in the list.
int find_row_from_data(object data)
Find a row in the list that has the given user data. If no node is found, -1 is returned.
GTK.Clist freeze()
freeze all visual updates of the list, and then thaw the list after you have made a number of changes and the updates wil occure in a more efficent mannor than if you made them on a unfrozen list
GDK.Color get_background(int row)
Return the background color of a specified row
GTK.Style get_cell_style(int row, int col)
return the W(Style) associated with a specific cell
int get_cell_type(int row, int column)
Return value is one of CELL_EMPTY , CELL_PIXMAP , CELL_PIXTEXT , CELL_TEXT and CELL_WIDGET
string get_column_title(int column)
Returns the title of a specified column.
GTK.Widget get_column_widget(int column)
Return the widget for the specified column title
int get_columns()
Return the number of columns in this clist
int get_drag_button()
Return the button used to drag items (by default 1)
int get_flags()
Return the flags. A bitwise or of CLIST_ADD_MODE , CLIST_AUTO_RESIZE_BLOCKED , CLIST_AUTO_SORT , CLIST_DRAW_DRAG_LINE , CLIST_DRAW_DRAG_RECT , CLIST_IN_DRAG , CLIST_REORDERABLE , CLIST_ROW_HEIGHT_SET , CLIST_SHOW_TITLES and CLIST_USE_DRAG_ICONS
int get_focus_row()
The currently focused row
GDK.Color get_foreground(int row)
Return the foregroun color for the specified row
GTK.Adjustment get_hadjustment()
Return the W(Adjustment) object used for horizontal scrolling
GTK.Clist get_pixmap(int row, int column)
Return the pixmap for the specified cell
mapping get_pixtext(int row, int col)
Return the pixmap and text for the specified cell as a mapping: ([ "spacing":spacing, "text":text, "pixmap":pixmap ])
object get_row_data(int row)
Return the data associated with a row, or 0.
int get_row_height()
Return the height of the row
GTK.Style get_row_style(int row)
Return the W(style) object associated with the specified row
int get_rows()
Return the number of rows
int get_selectable(int row)
Return 1 if the specified row can be selected by the user.
array get_selection()
Return an array with all selected rows.
mapping get_selection_info(int x, int y)
Return the row column corresponding to the x and y coordinates, the returned values are only valid if the x and y coordinates are relative to the clist window coordinates
int get_selection_mode()
Return the selection mode. One of SELECTION_BROWSE , SELECTION_EXTENDED , SELECTION_MULTIPLE and SELECTION_SINGLE
int get_shadow_type()
Return the curreent shadow type. One of SHADOW_ETCHED_IN , SHADOW_ETCHED_OUT , SHADOW_IN , SHADOW_NONE and SHADOW_OUT
int get_sort_column()
The column that will be used to sort the rows
int get_sort_type()
The sort method, one of SORT_ASCENDING and SORT_DESCENDING
GTK.Clist get_text(int row, int col)
Return the text associated with a specific cell.
GTK.Adjustment get_vadjustment()
Return the W(Adjustment) object used for vertical scrolling
int insert(int row, array columns)
Insert a row after a specified row. The return value of indicates the index of the row that was just added, please note that this is not nessasarily the same row as the specified one, if autosort is activated, the row will be inserted so that the list is sill sorted.
'columns' are the texts we want to put in the columns. The size of the array should equal the number of columns in the list.
GTK.Clist moveto(int row, int column, float xpos, float ypos)
Make the specified row and column visible, and place it relative to xpos and ypos in the area the Clist occupies. xpos and ypos are relative, 0.0 == top, 1.0 == bottom
int optimal_column_width(int column)
Return the optimal width of the specified column
int prepend(array columns)
The return value of indicates the index of the row that was just added.
'columns' are the texts we want to put in the columns. The size of the array should equal the number of columns in the list.
GTK.Clist remove(int row)
Delete a specified row. If you want to remove all rows in a Clist, use 'clear()' instead of calling remove multiple times.
GTK.Clist row_move(int from_row, int to_row)
Move the specified row to just before the specified destination row.
GTK.Clist select_all()
Select all rows
GTK.Clist select_row(int row, int column)
Select the given row. The column is sent to the signal handler, but ignored for all other purposes.
GTK.Clist set_auto_sort(int sortp)
If true, the clist will automatically be re-sorted when new rows are inserted. Please note that it will not be resorted if the text in cells are changed, use 'sort()' to force a reorder. The sort function is stable.
GTK.Clist set_background(int row, GDK.Color color)
Set the background color of the specified row the the specified color
GTK.Clist set_button_actions(int button, int action)
Action is a bitwise or of BUTTONBOX_DEFAULT_STYLE , BUTTONBOX_EDGE , BUTTONBOX_END , BUTTONBOX_SPREAD , BUTTONBOX_START , BUTTON_DRAGS , BUTTON_EXPANDS , BUTTON_IGNORED and BUTTON_SELECTS Button is the mouse button (normally 1-3, 4 and 5 sometimes beeing scroll wheel up and scroll wheel down)
GTK.Clist set_cell_style(int row, int column, GTK.Style style)
Set a W(Style) for a specific cell
GTK.Clist set_column_auto_resize(int column, int autoresizep)
Automatically resize a column to the width of it's widest contents.
GTK.Clist set_column_justification(int column, int justification)
justification is one of JUSTIFY_CENTER , JUSTIFY_FILL , JUSTIFY_LEFT and JUSTIFY_RIGHT
GTK.Clist set_column_max_width(int column, int width)
if width 6lt; 0 , there is no restriction
GTK.Clist set_column_min_width(int column, int width)
Width in pixels
GTK.Clist set_column_resizeable(int column, int resizeablep)
Make a column resizable, or remove it's the resizability.
GTK.Clist set_column_title(int column, string title)
Set the column title of a specified column. It is a good idea to set the titles before the column title buttons are shown.
GTK.Clist set_column_visibility(int column, int visiblep)
Hide or show a column
GTK.Clist set_column_widget(int column, GTK.Widget widget)
Put a widget as a column title. The widget will be added to a W(Button).
GTK.Clist set_column_width(int column, int width)
Width in pixels
GTK.Clist set_compare_func(function cmpfun)
Set the compare function. The function will be called with a
mapping as it's only argument, like this:
([
"clist":the clist widget,
"sort_column":the column to sort on,
"row1_data":The user data pointer for the first row,
"row2_data":The user data pointer for the second row,
"row1_text":The text in the sort cell in the first row
"row2_text":The text in the sort cell in the second row
])
The return value is one of:
1: Row 1 is more than row 2
0: The rows are equal
-1: Row 1 is lesser than row 2
To remove the comparefunction, use 0 as the argument.
GTK.Clist set_foreground(int row, GDK.Color color)
Set the foreground color of the specified row to the specified color
GTK.Clist set_hadjustment(GTK.Adjustment adjustment)
Set the W(Adjustment) object used for horizontal scrolling
GTK.Clist set_pixmap(int row, int col, GDK.Pixmap image, GDK.Bitmap mask)
Set the pixmap of the specified cell. The mask is optional
GTK.Clist set_pixtext(int row, int column, string text, int spacing, GDK.Pixmap image, GDK.Bitmap mask)
Set the pixmap and text of the specified cell. The mask is optional The spacing is the number of pixels between the pixmap and the text.
GTK.Clist set_reorderable(int reorderablep)
If true, the user can drag around the rows in the list.
GTK.Clist set_row_data(int row, object data)
Set the user data associated with the specified row. This data can be used to find rows, and when a row is selected it can be easily retrieved using node_get_row_data.
You can only use objects as row data right now
GTK.Clist set_row_height(int pixels)
in pixels
GTK.Clist set_row_style(int row, GTK.Style style)
GTK.Clist set_selectable(int row, int selectablep)
If true, the row can be selected by the user, otherwise it cannot be selected, only focused.
GTK.Clist set_selection_mode(int mode)
One of SELECTION_BROWSE , SELECTION_EXTENDED , SELECTION_MULTIPLE and SELECTION_SINGLE
GTK.Clist set_shadow_type(int shadowtype)
One of SHADOW_ETCHED_IN , SHADOW_ETCHED_OUT , SHADOW_IN , SHADOW_NONE and SHADOW_OUT
GTK.Clist set_shift(int row, int column, int yshift, int xshift)
The contents of the specified cell will be drawn shifted (indented) the specifid number of pixels.
This can be useful to generate a tree-like layout when you do not want to make a W(Ctree)
GTK.Clist set_sort_column(int column)
GTK.Clist set_sort_type(int direction)
Ascending or descending (One of SORT_ASCENDING and SORT_DESCENDING )
GTK.Clist set_text(int row, int column, string text)
Set the text for the specified cell. Please note that even if auto sorting is enabled, the row will not be resorted. Use the 'sort()' function.
GTK.Clist set_use_drag_icons(int dragiconsp)
If true, hard coded drag icons will be used.
GTK.Clist set_vadjustment(GTK.Adjustment adjustment)
Set the W(Adjustment) object used for vertical scrolling
GTK.Clist sort()
Set the column on which all sorting will be performed
GTK.Clist thaw()
freeze all visual updates of the list, and then thaw the list after you have made a number of changes and the updates wil occure in a more efficent mannor than if you made them on a unfrozen list
GTK.Clist undo_selection()
Undo the previous selection
GTK.Clist unselect_all()
Unselect all rows
GTK.Clist unselect_row(int row, int column)
Unselect the given row. The column is sent to the signal handler, but ignored for all other purposes.
| CLASS GTK.Clock |
The GtkClock widget provides an easy way of providing a textual clock in your application. It supports realtime display, as well as count up and count down modes. The clock widget could conceivably be used in such applications as an application's status bar, or as the basis for a panel applet, etc.
Three modes of operation are supported. These are realtime - which displays the current time, count-up/increasing - which counts up from an initial value (like a stopwatch), and count-down/decreasing - which counts down from an initial value.
Note, however, that the accuracy of the gtkclock widget is limited
to 1 second.
GTK.Clock( GTK.ClockRealtime );
![]()
GTK.Clock( GTK.ClockDecreasing )->set_seconds(10000)->start();
![]()
inherit GTK.Label : Label
GTK.Clock GTK.Clock(int type)
type is one of CLOCK_DECREASING , CLOCK_INCREASING and CLOCK_REALTIME ;
GTK.Clock set_format(string fmt)
Set the format of a GtkClock widget. The syntax of the format string is identical to that of the function strftime(3). Further information about time format strings can be found on this man page. The widget defaults to a format string of "%H:%M" in realtime mode, or "%H:%M:%S" in count-up or count-down modes.
GTK.Clock set_seconds(int seconds)
Set the current time as displayed by the clock in count-up and count-down modes. This function has no effect in realtime mode, as the clock time is determined by the system clock in realtime mode.
GTK.Clock set_update_interval(int seconds)
Set the interval at which the GtkClock widget is updated. The seconds parameter is used to determine how often the time shown on the widget is updated. The default value is to update every second, but you may wish to increase this value. If you set the update interval to 0, the clock is never updated.
GTK.Clock start()
Start the clock counting in count-up or count-down modes. The clock will begin counting up or down from the time when this function is called, until gtk_clock_stop is called. This function has no effect in the realtime mode (you can't start and stop real time! :-).
GTK.Clock stop()
Stop the clock counting in count-up or count-down modes. The clock ceases counting up or down, and the last time reached remains on the display. This function has no effect in the realtime mode (you can't start and stop real time! :-).
| CLASS GTK.ColorSelection |
The color selection widget is, not surprisingly, a widget for interactive selection of colors. This composite widget lets the user select a color by manipulating RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value) triples. This is done either by adjusting single values with sliders or entries, or by picking the desired color from a hue-saturation wheel/value bar. Optionally, the opacity of the color can also be set.
The color selection widget currently emits only one signal, "color_changed", which is emitted whenever the current color in the widget changes, either when the user changes it or if it's set explicitly through set_color().
GTK.ColorSelection()

inherit GTK.Vbox : Vbox
GTK.ColorSelection GTK.ColorSelection()
Create a new color selection.
array get_color()
When you need to query the current color, typically when you've received a "color_changed" signal, you use this function. The return value is an array of floats, See the set_color() function for the description of this array.
GTK.ColorSelection set_color(array color)
You can set the current color explicitly by calling this function with an array of colors (floats). The length of the array depends on whether opacity is enabled or not. Position 0 contains the red component, 1 is green, 2 is blue and opacity is at position 3 (only if opacity is enabled, see set_opacity()) All values are between 0.0 and 1.0
GTK.ColorSelection set_update_policy(int policy)
one of UPDATE_ALWAYS , UPDATE_CONTINUOUS , UPDATE_DELAYED , UPDATE_DISCONTINUOUS and UPDATE_IF_VALID .
The default policy is GTK.UpdateContinuous which means that the current color is updated continuously when the user drags the sliders or presses the mouse and drags in the hue-saturation wheel or value bar. If you experience performance problems, you may want to set the policy to GTK.UpdateDiscontinuous or GTK.UpdateDelayed.
| CLASS GTK.ColorSelectionDialog |
The color selection dialog widget is, not surprisingly, a color selection widget in a dialog window. Use the subwidget functions below to access the different subwidgets directly.
GTK.ColorSelectionDialog("Select color")

Signals: color_changed Called when the color is changed
inherit GTK.Window : Window
GTK.ColorSelectionDialog GTK.ColorSelectionDialog(string title)
Create a new color selection dialog with the specified title.
GTK.Button get_cancel_button()
Return the cancel button widget.
GTK.ColorSelection get_colorsel()
Return the color selection widget
GTK.Button get_help_button()
Return the help button
GTK.Button get_ok_button()
Return the ok button
| CLASS GTK.Combo |
Thee combo box is another fairly simple widget that is really just a collection of other widgets. From the user's point of view, the widget consists of a text entry box and a pull down menu from which the user can select one of a set of predefined entries. Alternatively, the user can type a different option directly into the text box.
The combo box has two principal parts that you as the programmer really care about: The W(entry) and the W(list).
GTK.Combo()
![]()
inherit GTK.Hbox : Hbox
GTK.Combo GTK.Combo()
Create a new combo box
GTK.Combo disable_activate()
This will disable the 'activate' signal for the entry widget in the combo box.
GTK.Entry get_entry()
The entry widget
GTK.Combo set_case_sensitive(int sensitivep)
set_case_sensitive() toggles whether or not GTK searches for entries in a case sensitive manner. This is used when the Combo widget is asked to find a value from the list using the current entry in the text box. This completion can be performed in either a case sensitive or insensitive manner, depending upon the use of this function. The Combo widget can also simply complete the current entry if the user presses the key combination MOD-1 and "Tab". MOD-1 is often mapped to the "Alt" key, by the xmodmap utility. Note, however that some window managers also use this key combination, which will override its use within GTK.
GTK.Combo set_item_string(GTK.Item item, string text)
The item is one of the ones in the list subwidget.
GTK.Combo set_popdown_strings(array strings)
Set the values in the popdown list.
GTK.Combo set_use_arrows(int use_arrows)
set_use_arrows() lets the user change the value in the entry using the up/down arrow keys. This doesn't bring up the list, but rather replaces the current text in the entry with the next list entry (up or down, as your key choice indicates). It does this by searching in the list for the item corresponding to the current value in the entry and selecting the previous/next item accordingly. Usually in an entry the arrow keys are used to change focus (you can do that anyway using TAB). Note that when the current item is the last of the list and you press arrow-down it changes the focus (the same applies with the first item and arrow-up).
GTK.Combo set_use_arrows_always(int always_arrows)
set_use_arrows_always() allows the use the the up/down arrow keys to cycle through the choices in the dropdown list, just as with set_use_arrows, but it wraps around the values in the list, completely disabling the use of the up and down arrow keys for changing focus.
GTK.Combo set_value_in_list(int value_must_be_in_list, int ok_if_empty)
If value_must_be_in_list is true, the user will not be able to enter any value that is not in the list. If ok_if_empty is true, empty values are possible as well as the values in the list.
| CLASS GTK.Container |
The basic container class.
Signals: add Called when a new object is added to the container. (used internally)
focus Called when the container gets focus (used internally)
need_resize Called when the container needs resizing (used internally)
remove Called when a object is removed from the container (used internally)
set_focus_child
inherit GTK.Widget : Widget
GTK.Container add(GTK.Widget widget)
Add a subwidget to the container. Don't forget to call show() in the subwidget. Some (even most) containers can only contain one child. Calling this function might result in a resize of the container.
GTK.Container border_width(int width)
Compatibility alias for set_border_width. Do not use this function in new code!
array children()
This function returns all children of the container as an array.
GTK.Container focus(int focus_direction)
Emulate a focus event. direction is one of DIR_DOWN , DIR_LEFT , DIR_RIGHT , DIR_TAB_BACKWARD , DIR_TAB_FORWARD and DIR_UP .
GTK.Container remove(GTK.Widget widget)
Remove a child from the container. The argument is the child to remove. Calling this function might result in a resize of the container.
GTK.Container set_border_width(int external_border_width)
Set the border width. The border width is the size of the padding around the container. Calling this function might result in a resize of the container.
GTK.Container set_focus_child(GTK.Widget child)
Emulate a set_focus_child signal. Focus on the specified child.
GTK.Container set_focus_hadjustment(GTK.Adjustment adj)
Set the hadjustment used to focus children.
GTK.Container set_focus_vadjustment(GTK.Adjustment adj)
Set the vadjustment used to focus children.
GTK.Container set_resize_mode(int mode)
One of RESIZE_IMMEDIATE , RESIZE_PARENT and RESIZE_QUEUE
| CLASS GTK.Ctree |
The GtkCTree widget is used for showing a hierarchical tree to the user, for example a directory tree.
The tree is internally represented as a set of GtkCTreeNode structures.
The interface has much in common with the GtkCList widget: rows (nodes) can be selected by the user etc.
Positions in the tree are often indicated by two arguments, a parent and a sibling, both GtkCTreeNode pointers. If the parent is NULL, the position is at the root of the tree and if the sibling is NULL, it will be the last child of parent, otherwise it will be inserted just before the sibling.
Signals: change_focus_row_expansion Changed when the focused row is either expanded or collapsed
tree_collapse Called when a node is collapsed
tree_expand Called when a node is expanded
tree_move Called when a node is moved (using DND, as an example)
tree_select_row Called when a node is selected.
tree_unselect_row Called when a node is unselected.
inherit GTK.Clist : Clist
GTK.Ctree collapse(GTK.CTreeNode node)
Collapse the node, hiding it's children. If no node is given, expand the toplevel of the tree
GTK.Ctree collapse_recursive(GTK.CTreeNode node)
Collapse the node, showing it's children, it's childrens children, etc. If no node is given, collapse the whole tree
GTK.Ctree collapse_to_depth(GTK.CTreeNode node, int depth)
Collapse depth levels of the tree, starting with the specified node. If no node is given, start with the toplevel node.
GTK.Ctree GTK.Ctree(int columns, int tree_column)
tree_column is the column that has the tree graphics (lines and expander buttons).
GTK.Ctree expand(GTK.CTreeNode node)
Expand the node, showing it's children. If no node is given, expand the toplevel of the tree
GTK.Ctree expand_recursive(GTK.CTreeNode node)
Expand the node, showing it's children, it's childrens children, etc. If no node is given, expand the whole tree
GTK.Ctree expand_to_depth(GTK.CTreeNode node, int depth)
Expand depth levels of the tree, starting with the specified node. If no node is given, start with the toplevel node.
int find(GTK.CTreeNode node, GTK.CTreeNode start)
Returns true if the node is a child of the start node.
If you omit the starting node, the tree will be searched from the root.
GTK.Ctree find_by_row_data(object data, CTreeNode|void root)
Find a node in the tree starting with root, that has the given user data. If no node is found, 0 is returned.
GTK.CTreeNode find_node_ptr(GTK.CTreeRow node)
Given a W(CTreeRow) (deprectated structure in PiGTK), return the W(CTreeNode) associated with the row.
int get_expander_style()
The style of the expander buttons, one of CTREE_EXPANDER_CIRCULAR , CTREE_EXPANDER_NONE , CTREE_EXPANDER_SQUARE and CTREE_EXPANDER_TRIANGLE
int get_line_style()
The style of the lines, one of CTREE_LINES_DOTTED , CTREE_LINES_NONE , CTREE_LINES_SOLID and CTREE_LINES_TABBED
int get_show_stub()
Will stubs be shows?
int get_tree_column()
The column that is the tree column (the one with the expand/collapse icons)
int get_tree_indent()
The number of pixels to indent the tree levels.
int get_tree_spacing()
The number of pixels between the tree and the columns
GTK.Ctree insert_node(GTK.CTreeNode parent, GTK.CTreeNode sibling, array text, int is_leaf, int expanded)
At least one of parent or sibling must be specified. If both are specified, sibling->parent() must be equal to parent.
If the parent and sibling is 0, the position is at the root of the tree, if the sibling is NULL, it will be the last child of parent, otherwise it will be inserted just before the sibling.
int is_ancestor(GTK.CTreeNode node, GTK.CTreeNode child)
Returns true if node is an ancestor of child
int is_hot_spot(int x, int y)
Returns true if the given coordinates lie on an expander button
int is_viewable(GTK.CTreeNode node)
Returns 1 if a certain node can be viewed (with or without scrolling of the tree). Returns 0 if the node is in a folded part of the tree.
GTK.CTreeNode last(GTK.CTreeNode node)
Returns the last child of the last child of the last child... of the given node.
GTK.Ctree move(GTK.CTreeNode node, GTK.CTreeNode new_parent, GTK.CTreeNode new_sibling)
Move a node. Coordinates work as for insert.
GTK.Style node_get_cell_style(GTK.CTreeNode node, int col)
Return the style of a cell
int node_get_cell_type(GTK.CTreeNode node, int column)
Return the celltype of this node.
mapping node_get_pixmap(CTreeNode node, int column)
Returns the pixmap and mask of this node in a mapping: ([ "pixmap":the_pixmap, "mask":the_bitmap ])
mapping node_get_pixtext(GTK.CTreeNode n, int columne)
Returns the pixmap, mask and text of this node in a mapping: ([ "pixmap":the_pixmap, "mask":the_bitmap, "text":the_text ])
object node_get_row_data(GTK.CTreeNode n)
Return the data associated with a node, or 0.
GTK.Style node_get_row_style(GTK.CTreeNode node)
Return the style of a row
int node_get_selectable(GTK.CTreeNode node)
Return whether or not this node can be selcted by the user
string node_get_text(GTK.CTreeNode node, int column)
Returns the text of the specified node
int node_is_visible(GTK.CTreeNode node)
Return 1 if the node is currently visible
GTK.Ctree node_moveto(GTK.CTreeNode row, int column, float row_align, float col_align)
Scroll the tree so a specified node (and column) is visible. If the node is folded, it's first visible parent will be shown.
GTK.CTreeNode node_nth(int row)
Return the node that is currently visible on the specified row.
GTK.Ctree node_set_background(GTK.CTreeNode node, GDK.Color color)
Set the background of a row
GTK.Ctree node_set_cell_style(GTK.CTreeNode node, int col, GTK.Style style)
Set the style of a cell
GTK.Ctree node_set_foreground(GTK.CTreeNode node, GDK.Color col)
Set the foreground of a row
GTK.Ctree node_set_pixmap(GTK.CTreeNode node, int column, GDK.Pixmap pixmap, GDK.Bitmap mask)
Set the pixmap in a cell
GTK.Ctree node_set_pixtext(GTK.CTreeNode node, int column, string text, int spacing, GDK.Pixmap pixmap, GDK.Bitmap mask)
Set the pixmap and text in a cell
GTK.Ctree node_set_row_data(GTK.CTreeNode node, object data)
Set the user data associated with the specified node. This data can be used to find nodes, and when a node is selected it can be easily retrieved using node_get_row_data.
You can only use objects as row data right now
GTK.Ctree node_set_row_style(GTK.CTreeNode node, GTK.Style style)
Set the style of a row
GTK.Ctree node_set_selectable(GTK.CTreeNode node, int selectablep)
Whether this node can be selected by the user.
GTK.Ctree node_set_shift(GTK.CTreeNode node, int column, int vertical, int horizontal)
Shift the given cell the given amounts in pixels.
GTK.Ctree node_set_text(GTK.CTreeNode node, int column, string text)
Set the text in a cell
GTK.Ctree remove_node(GTK.CTreeNode node)
Remove a node and it's subnodes from the tree. The nodes will be destroyed, so you cannot add them again.
GTK.Ctree select(GTK.CTreeNode node)
Select a node.
GTK.Ctree select_recursive(GTK.CTreeNode node)
Select a node and it's children.
GTK.Ctree set_expander_style(int style)
Set the expander style, one of CTREE_EXPANDER_CIRCULAR , CTREE_EXPANDER_NONE , CTREE_EXPANDER_SQUARE and CTREE_EXPANDER_TRIANGLE
GTK.Ctree set_indent(int npixels)
Set the indentation level
GTK.Ctree set_line_style(int style)
Set the line style, one of CTREE_LINES_DOTTED , CTREE_LINES_NONE , CTREE_LINES_SOLID and CTREE_LINES_TABBED
GTK.Ctree set_node_info(GTK.CTreeNode node, string text, int spacing, GDK.Pixmap pixmap_closed, GDK.Bitmap mask_closed, GDK.Pixmap pixmap_opened, GDK.Bitmap mask_opened, int is_leaf, int expanded)
|
GTK.Ctree set_show_stub(int stubp)
If true, the 'stub' will be shown. The stub is the small line that goes horizontally from the expand or collapse button to the actual contents of the tree
GTK.Ctree set_spacing(int npixels)
Set the spacing between the tree column and the other columns
GTK.Ctree sort_node(GTK.CTreeNode node)
Sort the specified node.
GTK.Ctree sort_recursive(GTK.CTreeNode node)
Sort the specified node and it's children.
GTK.Ctree toggle_expansion(GTK.CTreeNode node)
If the node is expanded, collapse it, and if it's collapsed, expand it.
GTK.Ctree toggle_expansion_recursive(GTK.CTreeNode node)
Toggle the expansion of the whole subtree, starting with node.
GTK.Ctree unselect(GTK.CTreeNode node)
Unselect a node.
GTK.Ctree unselect_recursive(GTK.CTreeNode node)
Unselect a node and it's children.
| CLASS GTK.Curve |
GTK.Curve()
![]()
inherit GTK.DrawingArea : DrawingArea
GTK.Curve GTK.Curve()
array get_vector(int num_points)
GTK.Curve reset()
GTK.Curve set_curve_type(int type)
One of CURVE_TYPE_FREE , CURVE_TYPE_LINEAR and CURVE_TYPE_SPLINE ;
GTK.Curve set_gamma(float gamma)
GTK.Curve set_range(float min_x, float max_x, float min_y, float max_y)
GTK.Curve set_vector(int nelems, array curve)
| CLASS GTK.Data |
A class inherited by all objects used to store data (they are not widgets)
Signals: disconnect
inherit GTK.Object : Object
| CLASS GTK.Databox |
GtkDatabox is designed to display large amounts of numerical data fast and easy. Thousands of data points (X and Y coordinate) may be displayed without any problems, zooming and scrolling as well as optional rulers are already included.
The widget may be used as display for oscilloscopes or other applications that need to display fast changes in their data.
GTK.Databox x=GTK.Databox(); x->data_add_x_y(3, ({ 1.0, 0.5, 0.0 }), ({1.0, -1.0, 0.0}),GDK.Color(Image.Color.red), GTK.DataboxLines,2); x->rescale(); x->set_usize(300,300); return x;
![]()
Signals: marked
selection_canceled
selection_changed
selection_started
selection_stopped
zoomed
inherit GTK.Vbox : Vbox
GTK.Databox GTK.Databox()
Create a new databox widget
int data_add_x(int nelems, array x, int shared_Y_index, GDK.Color color, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_add_x_y(int nelems, array x, array y, GDK.Color color, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_add_y(int nelems, array y, int shared_X_index, GDK.Color color, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)
int set_data_type(int index, int type, int dot_size)
Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
GTK.Databox show_cross()
GTK.Databox show_rulers()
GTK.Databox show_scrollbars()
| CLASS GTK.Dial |
This widget provides an analog dial widget, similar to, for
example, a physical volume control on a stereo. Dial values can be
changable or read-only for value reporting.
GTK.Dial( GTK.Adjustment() );

GTK.Dial( GTK.Adjustment(10.0) )->set_percentage(0.4);

inherit GTK.Widget : Widget
GTK.Dial GTK.Dial(GTK.Adjustment adjustment)
GTK.Adjustment get_adjustment()
float get_percentage()
Retrieves the current percentage held in the dial widget.
float get_value()
Retrieves the current value helt in the dial widget.
GTK.Dial set_adjustment(GTK.Adjustment pos)
set_adjustment() does absolutely nothing if you pass it the adjustment that range is already using, regardless of whether you changed any of its fields or not. If you pass it a new Adjustment, it will unreference the old one if it exists (possibly destroying it), connect the appropriate signals to the new one, and call the private function gtk_range_adjustment_changed(), which will (or at least, is supposed to...) recalculate the size and/or position of the slider and redraw if necessary.
GTK.Dial set_percentage(float percent)
Sets the GTK.Dial's value to percent of dial->adjustment->upper. The upper value is set when the GtkAdjustment is created.
GTK.Dial set_update_policy(int when)
The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:
This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.
The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
float set_value(float to)
Sets the current value held in the GtkDial's adjustment object to value. Returns the new percentage of value to the adjustment's upper limit.
GTK.Dial set_view_only(int view_only)
Specifies whether or not the user is to be able to edit the value represented by the dial widget. If view_only is TRUE, the dial will be set to view-only mode, and the user will not be able to edit it. If view_only is FALSE, the user will be able to change the valuerepresented.
| CLASS GTK.Dialog |
A dialog is a window with a few default widgets added. The 'vbox' is the main content area of the widget. The 'action_area' is allocated for buttons (ok, cancel etc)
inherit GTK.Window : Window
GTK.Dialog GTK.Dialog()
Create a new dialog widget.
GTK.HbuttonBox get_action_area()
The action area, this is where the buttons (ok, cancel etc) go
GTK.Vbox get_vbox()
The vertical box that should contain the contents of the dialog
| CLASS GTK.DrawingArea |
The drawing area is a window you can draw in. Please note that you must handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea lor='#202020'>int
shared_X_index, GDK.Color color, int type, int dot_size)Type is one of DATABOX_BARS , DATABOX_LINES , DATABOX_NOT_DISPLAYED and DATABOX_POINTS
int data_destroy(int index)
int data_destroy_all()
array data_get_extrema()
mapping data_get_value(int x, int y)
array data_get_visible_extrema()
GTK.Databox disable_zoom()
GTK.Databox enable_zoom()
GTK.Databox hide_cross()
GTK.Databox hide_rulers()
GTK.Databox hide_scrollbars()
GTK.Databox rescale()
GTK.Databox rescale_with_values(float minx, float miny, float maxx, float maxy)
int set_color(int index, GDK.Color color)