[ruby-gnome2-doc-cvs] [Hiki] update - Gtk

アーカイブの一覧に戻る

ruby-****@lists***** ruby-****@lists*****
2003年 3月 24日 (月) 10:21:46 JST


-------------------------
REMOTE_ADDR = 61.204.181.66
REMOTE_HOST = 
-------------------------
= module Gtk
Gtk module includes methods as Library initialization, main event loop, events, and standard constants.

Before using Ruby/GTK, you need to initialize it; 
initialization connects to the window system display, 
and parses some standard command line arguments. 
The Gtk.init function initializes Ruby/GTK. 
Like all GUI toolkits, Ruby/GTK uses an event-driven programming model. 
When the user is doing nothing, Ruby/GTK sits in the main loop and waits for input. 
If the user performs some action - say, a mouse click - then the main loop "wakes up" and delivers an event to Ruby/GTK. 
Ruby/GTK forwards the event to one or more widgets. 

When widgets receive an event, they frequently emit one or more signals. 
Signals notify your program that "something interesting happened" by invoking blocks you've connected to the signal with GLib::Instantiable#signal_connect. 
Blocks connected to a signal are often termed callbacks. 

When your callbacks are invoked, you would typically take some action - for example, when an Open button is clicked you might display a Gtk::FileSelectionDialog. 
After a callback finishes, Ruby/GTK will return to the main loop and await more user input. 

== module functions
--- Gtk.init(argv = ARGV)
    Call this function before using any other GTK+ functions in your GUI applications. It will initialize everything needed to operate the toolkit and parses some standard command line options. 
    argv are adjusted accordingly so your own code will never see those standard arguments. 
    
    Note:
    This function will throw RuntimeError if it was unable to initialize the GUI for some reason. 
    * argv: the ARGV value. Any parameters understood by Gtk.init are stripped before return. 
    * Returns: self

--- Gtk.main
    Runs the main loop until Gtk.main_quit is called. You can nest calls to Gtk.main. 
    In that case Gtk.main_quit will make the innermost invocation of the main loop return.

--- Gtk.main_level

--- Gtk.main_quit
    Makes the innermost invocation of the main loop return when it regains control. 

--- Gtk.main_iteration


== constants
--- GtkAccelFlags
     * Gtk::ACCEL_VISIBLE          = 1 << 0
     * Gtk::ACCEL_LOCKED           = 1 << 1
     * Gtk::ACCEL_MASK             = 0x07

--- GtkAnchorType
     * Gtk::ANCHOR_CENTER
     * Gtk::ANCHOR_NORTH
     * Gtk::ANCHOR_NORTH_WEST
     * Gtk::ANCHOR_NORTH_EAST
     * Gtk::ANCHOR_SOUTH
     * Gtk::ANCHOR_SOUTH_WEST
     * Gtk::ANCHOR_SOUTH_EAST
     * Gtk::ANCHOR_WEST
     * Gtk::ANCHOR_EAST
     * Gtk::ANCHOR_N		= Gtk::ANCHOR_NORTH
     * Gtk::ANCHOR_NW		= Gtk::ANCHOR_NORTH_WEST
     * Gtk::ANCHOR_NE		= Gtk::ANCHOR_NORTH_EAST
     * Gtk::ANCHOR_S		= Gtk::ANCHOR_SOUTH
     * Gtk::ANCHOR_SW		= Gtk::ANCHOR_SOUTH_WEST
     * Gtk::ANCHOR_SE		= Gtk::ANCHOR_SOUTH_EAST
     * Gtk::ANCHOR_W		= Gtk::ANCHOR_WEST
     * Gtk::ANCHOR_E		= Gtk::ANCHOR_EAST

--- GtkArrowType
     Used to indicate the direction in which a GtkArrow should point. 
     * Gtk::ARROW_UP
       Represents an upward pointing arrow.
     * Gtk::ARROW_DOWN
       Represents a downward pointing arrow.
     * Gtk::ARROW_LEFT
       Represents a left pointing arrow.
     * Gtk::ARROW_RIGHT
       Represents a right pointing arrow.

--- GtkAttachOptions
     Denotes the expansion properties that a widget will have when it (or it's parent) is resized. 
     * Gtk::EXPAND = 1 << 0
       the widget should expand to take up any extra space in its container that has been allocated.  
     * Gtk::SHRINK = 1 << 1
       the widget should shrink as and when possible.  
     * Gtk::FILL   = 1 << 2
       the widget should fill the space allocated to it. 

--- GtkButtonBoxStyle
     Used to dictate the style that a Gtk::ButtonBox uses to layout the buttons it contains. (See also: Gtk::VButtonBox and Gtk::HButtonBox). 
     * Gtk::BUTTONBOX_DEFAULT_STYLE
       Default packing.
     * Gtk::BUTTONBOX_SPREAD
       Buttons are evenly spread across the Gtk::ButtonBox.
     * Gtk::BUTTONBOX_EDGE
       Buttons are placed at the edges of the Gtk::ButtonBox. 
     * Gtk::BUTTONBOX_START
       Buttons are grouped towards the start of box, (on the left for a Gtk::HBox, or the top for a Gtk::VBox).  
     * Gtk::BUTTONBOX_END
       Buttons are grouped towards the end of a box, (on the right for a Gtk::HBox, or the bottom for a Gtk::VBox).  

--- GtkCornerType
     Specifies which corner a child widget should be placed in when packed into a Gtk::ScrolledWindow. This is effectively the opposite of where the scroll bars are placed. 
     * Gtk::CORNER_TOP_LEFT
       Place the scrollbars on the right and bottom of the widget (default behaviour).
     * Gtk::CORNER_BOTTOM_LEFT
       Place the scrollbars on the top and right of the widget. 
     * Gtk::CORNER_TOP_RIGHT
       Place the scrollbars on the left and bottom of the widget.
     * Gtk::CORNER_BOTTOM_RIGHT
       Place the scrollbars on the top and left of the widget.

--- GtkCurveType
     * Gtk::CURVE_TYPE_LINEAR
       linear interpolation
     * Gtk::CURVE_TYPE_SPLINE
       spline interpolation
     * Gtk::CURVE_TYPE_FREE
       free form curve

--- GtkDeleteType
     * Gtk::DELETE_CHARS
     * Gtk::DELETE_WORD_ENDS
       delete only the portion of the word to the left/right of cursor if we're in the middle of a word.
     * Gtk::DELETE_WORDS
     * Gtk::DELETE_DISPLAY_LINES
     * Gtk::DELETE_DISPLAY_LINE_ENDS
     * Gtk::DELETE_PARAGRAPH_ENDS
       like C-k in Emacs (or its reverse)
     * Gtk::DELETE_PARAGRAPHS
       C-k in pico, kill whole line
     * Gtk::DELETE_WHITESPACE
        M-\ in Emacs

--- GtkDirectionType
     * Gtk::DIR_TAB_FORWARD
     * Gtk::DIR_TAB_BACKWARD
     * Gtk::DIR_UP
     * Gtk::DIR_DOWN
     * Gtk::DIR_LEFT
     * Gtk::DIR_RIGHT

--- GtkExpanderStyle
     * Gtk::EXPANDER_COLLAPSED
     * Gtk::EXPANDER_SEMI_COLLAPSED
     * Gtk::EXPANDER_SEMI_EXPANDED
     * Gtk::EXPANDER_EXPANDED

--- GtkIMPreeditStyle
     * Gtk::IM_PREEDIT_NOTHING
     * Gtk::IM_PREEDIT_CALLBACK

--- GtkIMStatusStyle
     * Gtk::IM_STATUS_NOTHING
     * Gtk::IM_STATUS_CALLBACK

--- GtkJustification
     Used for justifying the text inside a Gtk::Label widget. (See also Gtk::Alignment). 
     * Gtk::JUSTIFY_LEFT
       The text is placed at the left edge of the label.
     * Gtk::JUSTIFY_RIGHT
       The text is placed at the right edge of the label. 
     * Gtk::JUSTIFY_CENTER
       The text is placed in the center of the label. 
     * Gtk::JUSTIFY_FILL
       The text is placed is distributed across the label.

--- GtkMetricType
     * Gtk::PIXELS
     * Gtk::INCHES
     * Gtk::CENTIMETERS

--- GtkMovementStep
     * Gtk::MOVEMENT_LOGICAL_POSITIONS 
       move by forw/back graphemes 
     * Gtk::MOVEMENT_VISUAL_POSITIONS  
       move by left/right graphemes 
     * Gtk::MOVEMENT_WORDS                
       move by forward/back words 
     * Gtk::MOVEMENT_DISPLAY_LINES      
       move up/down lines (wrapped lines) 
     * Gtk::MOVEMENT_DISPLAY_LINE_ENDS 
       move up/down lines (wrapped lines) 
     * Gtk::MOVEMENT_PARAGRAPHS          
       move up/down paragraphs (newline-ended lines) 
     * Gtk::MOVEMENT_PARAGRAPH_ENDS     
       move to either end of a paragraph 
     * Gtk::MOVEMENT_PAGES
       move by pages 
     * Gtk::MOVEMENT_BUFFER_ENDS        
       move to ends of the buffer 
     * Gtk::MOVEMENT_HORIZONTAL_PAGES   
       move horizontally by pages 

--- GtkOrientation
     * Gtk::ORIENTATION_HORIZONTAL
     * Gtk::ORIENTATION_VERTICAL

--- GtkPackType
     Represents the packing location GtkBox children. (See: GtkVBox, GtkHBox, and GtkButtonBox). 
     * Gtk::PACK_START
       The child is packed into the start of the box
     * Gtk::PACK_END
       The child is packed into the end of the box  

--- GtkPathPriorityType
     * Gtk::PATH_PRIO_LOWEST       = 0
     * Gtk::PATH_PRIO_GTK	     = 4
     * Gtk::PATH_PRIO_APPLICATION = 8
     * Gtk::PATH_PRIO_THEME        = 10
     * Gtk::PATH_PRIO_RC            = 12
     * Gtk::PATH_PRIO_HIGHEST      = 15

--- GtkPathType
     * Gtk::PATH_WIDGET
     * Gtk::PATH_WIDGET_CLASS
     * Gtk::PATH_CLASS

--- GtkPolicyType
     Determines when a scroll bar will be visible. 
     * Gtk::POLICY_ALWAYS
       The scrollbar is always visible.
     * Gtk::POLICY_AUTOMATIC
       The scrollbar will appear and disappear as necessary. 
     * Gtk::POLICY_NEVER
       The scrollbar will never appear. 

--- GtkPositionType
     * Gtk::POS_LEFT
     * Gtk::POS_RIGHT
     * Gtk::POS_TOP
     * Gtk::POS_BOTTOM

--- GtkReliefStyle
     * Gtk::RELIEF_NORMAL
     * Gtk::RELIEF_HALF
     * Gtk::RELIEF_NONE

--- GtkResizeMode
     * Gtk::RESIZE_PARENT		
       Pass resize request to the parent 
     * Gtk::RESIZE_QUEUE		
       Queue resizes on this widget 
     * Gtk::RESIZE_IMMEDIATE		
       Perform the resizes now 

--- GtkScrollType
     * Gtk::SCROLL_NONE
     * Gtk::SCROLL_JUMP
     * Gtk::SCROLL_STEP_BACKWARD
     * Gtk::SCROLL_STEP_FORWARD
     * Gtk::SCROLL_PAGE_BACKWARD
     * Gtk::SCROLL_PAGE_FORWARD
     * Gtk::SCROLL_STEP_UP
     * Gtk::SCROLL_STEP_DOWN
     * Gtk::SCROLL_PAGE_UP
     * Gtk::SCROLL_PAGE_DOWN
     * Gtk::SCROLL_STEP_LEFT
     * Gtk::SCROLL_STEP_RIGHT
     * Gtk::SCROLL_PAGE_LEFT
     * Gtk::SCROLL_PAGE_RIGHT
     * Gtk::SCROLL_START
     * Gtk::SCROLL_END

--- GtkSelectionMode
     * Gtk::SELECTION_NONE
       Nothing can be selected
     * Gtk::SELECTION_SINGLE
     * Gtk::SELECTION_BROWSE
     * Gtk::SELECTION_MULTIPLE

--- GtkShadowType
     Used to change the appearance of an outline typically provided by a GtkFrame. 
     * Gtk::SHADOW_NONE
       No outline.
     * Gtk::SHADOW_IN
       The outline is bevelled inwards.
     * Gtk::SHADOW_OUT
       The outline is bevelled outwards like a button. 
     * Gtk::SHADOW_ETCHED_IN
       The outline itself is an inward bevel, but the frame does
     * Gtk::SHADOW_ETCHED_OUT


--- GtkStateType
     This type indicates the current state of a widget; the state determines how the widget is drawn. The GtkStateType is also used to identify different colors in a Gtk::Style for drawing, so states can be used for subparts of a widget as well as entire widgets. 
     * Gtk::STATE_NORMAL
       State during normal operation.
     * Gtk::STATE_ACTIVE
       State of a currently active widget, such as a depressed button. 
     * Gtk::STATE_PRELIGHT
       State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. 
     * Gtk::STATE_SELECTED
       State of a selected item, such the selected row in a list. 
     * Gtk::STATE_INSENSITIVE
       State indicating that the widget is unresponsive to user actions.  

--- GtkToolbarStyle
     Used to customize the appearance of a Gtk::Toolbar. Note that setting the toolbar style overrides the user's preferences for the default toolbar style. 
     * Gtk::TOOLBAR_ICONS
       Buttons display only icons in the toolbar.
     * Gtk::TOOLBAR_TEXT
       Buttons display only text labels in the toolbar.
     * Gtk::TOOLBAR_BOTH
       Buttons display text and icons in the toolbar. 
     * Gtk::TOOLBAR_BOTH_HORIZ
       Buttons display icons and text alongside each other, rather than vertically stacked

--- GtkUpdateType
     * Gtk::UPDATE_CONTINUOUS
     * Gtk::UPDATE_DISCONTINUOUS
     * Gtk::UPDATE_DELAYED

--- GtkVisibility
     * Gtk::VISIBILITY_NONE
     * Gtk::VISIBILITY_PARTIAL
     * Gtk::VISIBILITY_FULL

--- GtkWindowPosition
     Window placement can be influenced using these constants. 
     * Gtk::WIN_POS_NONE
       No influence is made on placement.
     * Gtk::WIN_POS_CENTER
       Windows should be placed in the center of the screen. 
     * Gtk::WIN_POS_MOUSE
       Windows should be placed at the current mouse position.
     * Gtk::WIN_POS_CENTER_ALWAYS
       Keep window centered as it changes size, etc.
     * Gtk::WIN_POS_CENTER_ON_PARENT
       Center the window on its transient parent (see Gtk::Window#set_transient_for).  

--- GtkWindowType
     A Gtk::Window can be one of these types. Most things you'd consider a "window" should have type Gtk::WINDOW_TOPLEVEL; windows with this type are managed by the window manager and have a frame by default (call Gtk::Window#set_decorated to toggle the frame). Windows with type Gtk::WINDOW_POPUP are ignored by the window manager; window manager keybindings won't work on them, the window manager won't decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). Gtk::WINDOW_POPUP is used to implement widgets such as Gtk::Menu or tooltips that you normally don't think of as windows per se. Nearly all windows should be Gtk::WINDOW_TOPLEVEL. In particular, do not use Gtk::WINDOW_POPUP just to turn off the window borders; use Gtk::Window#set_decorated for that. 
     * Gtk::WINDOW_TOPLEVEL
       A regular window, such as a dialog.
     * Gtk::WINDOW_POPUP
       A special window such as a tooltip.  

--- GtkSortType
     Determines the direction of a sort. 
     * Gtk::SORT_ASCENDING
       Sorting is in ascending order. 
     * Gtk::SORT_DESCENDING
       Sorting is in descending order.

- ((<Masao>))
-------------------------
= module Gtk
Gtk module includes methods as Library initialization, main event loop, events, and standard constants.

Before using Ruby/GTK, you need to initialize it; 
initialization connects to the window system display, 
and parses some standard command line arguments. 
The Gtk.init function initializes Ruby/GTK. 
Like all GUI toolkits, Ruby/GTK uses an event-driven programming model. 
When the user is doing nothing, Ruby/GTK sits in the main loop and waits for input. 
If the user performs some action - say, a mouse click - then the main loop "wakes up" and delivers an event to Ruby/GTK. 
Ruby/GTK forwards the event to one or more widgets. 

When widgets receive an event, they frequently emit one or more signals. 
Signals notify your program that "something interesting happened" by invoking blocks you've connected to the signal with GLib::Instantiable#signal_connect. 
Blocks connected to a signal are often termed callbacks. 

When your callbacks are invoked, you would typically take some action - for example, when an Open button is clicked you might display a Gtk::FileSelectionDialog. 
After a callback finishes, Ruby/GTK will return to the main loop and await more user input. 

== module functions
--- Gtk.init(argv = ARGV)
    Call this function before using any other GTK+ functions in your GUI applications. It will initialize everything needed to operate the toolkit and parses some standard command line options. 
    argv are adjusted accordingly so your own code will never see those standard arguments. 
    
    Note:
    This function will throw RuntimeError if it was unable to initialize the GUI for some reason. 
    * argv: the ARGV value. Any parameters understood by Gtk.init are stripped before return. 
    * Returns: self

--- Gtk.main
    Runs the main loop until Gtk.main_quit is called. You can nest calls to Gtk.main. 
    In that case Gtk.main_quit will make the innermost invocation of the main loop return.

--- Gtk.main_level

--- Gtk.main_quit
    Makes the innermost invocation of the main loop return when it regains control. 

--- Gtk.main_iteration


== constants
--- GtkAccelFlags
     * Gtk::ACCEL_VISIBLE          = 1 << 0
     * Gtk::ACCEL_LOCKED           = 1 << 1
     * Gtk::ACCEL_MASK             = 0x07

--- GtkAnchorType
     * Gtk::ANCHOR_CENTER
     * Gtk::ANCHOR_NORTH
     * Gtk::ANCHOR_NORTH_WEST
     * Gtk::ANCHOR_NORTH_EAST
     * Gtk::ANCHOR_SOUTH
     * Gtk::ANCHOR_SOUTH_WEST
     * Gtk::ANCHOR_SOUTH_EAST
     * Gtk::ANCHOR_WEST
     * Gtk::ANCHOR_EAST
     * Gtk::ANCHOR_N		= Gtk::ANCHOR_NORTH
     * Gtk::ANCHOR_NW		= Gtk::ANCHOR_NORTH_WEST
     * Gtk::ANCHOR_NE		= Gtk::ANCHOR_NORTH_EAST
     * Gtk::ANCHOR_S		= Gtk::ANCHOR_SOUTH
     * Gtk::ANCHOR_SW		= Gtk::ANCHOR_SOUTH_WEST
     * Gtk::ANCHOR_SE		= Gtk::ANCHOR_SOUTH_EAST
     * Gtk::ANCHOR_W		= Gtk::ANCHOR_WEST
     * Gtk::ANCHOR_E		= Gtk::ANCHOR_EAST

--- GtkArrowType
     Used to indicate the direction in which a GtkArrow should point. 
     : Gtk::ARROW_UP
       Represents an upward pointing arrow.
     : Gtk::ARROW_DOWN
       Represents a downward pointing arrow.
     : Gtk::ARROW_LEFT
       Represents a left pointing arrow.
     : Gtk::ARROW_RIGHT
       Represents a right pointing arrow.

--- GtkAttachOptions
     Denotes the expansion properties that a widget will have when it (or it's parent) is resized. 
     * Gtk::EXPAND = 1 << 0
       the widget should expand to take up any extra space in its container that has been allocated.  
     * Gtk::SHRINK = 1 << 1
       the widget should shrink as and when possible.  
     * Gtk::FILL   = 1 << 2
       the widget should fill the space allocated to it. 

--- GtkButtonBoxStyle
     Used to dictate the style that a Gtk::ButtonBox uses to layout the buttons it contains. (See also: Gtk::VButtonBox and Gtk::HButtonBox). 
     * Gtk::BUTTONBOX_DEFAULT_STYLE
       Default packing.
     * Gtk::BUTTONBOX_SPREAD
       Buttons are evenly spread across the Gtk::ButtonBox.
     * Gtk::BUTTONBOX_EDGE
       Buttons are placed at the edges of the Gtk::ButtonBox. 
     * Gtk::BUTTONBOX_START
       Buttons are grouped towards the start of box, (on the left for a Gtk::HBox, or the top for a Gtk::VBox).  
     * Gtk::BUTTONBOX_END
       Buttons are grouped towards the end of a box, (on the right for a Gtk::HBox, or the bottom for a Gtk::VBox).  

--- GtkCornerType
     Specifies which corner a child widget should be placed in when packed into a Gtk::ScrolledWindow. This is effectively the opposite of where the scroll bars are placed. 
     * Gtk::CORNER_TOP_LEFT
       Place the scrollbars on the right and bottom of the widget (default behaviour).
     * Gtk::CORNER_BOTTOM_LEFT
       Place the scrollbars on the top and right of the widget. 
     * Gtk::CORNER_TOP_RIGHT
       Place the scrollbars on the left and bottom of the widget.
     * Gtk::CORNER_BOTTOM_RIGHT
       Place the scrollbars on the top and left of the widget.

--- GtkCurveType
     * Gtk::CURVE_TYPE_LINEAR
       linear interpolation
     * Gtk::CURVE_TYPE_SPLINE
       spline interpolation
     * Gtk::CURVE_TYPE_FREE
       free form curve

--- GtkDeleteType
     * Gtk::DELETE_CHARS
     * Gtk::DELETE_WORD_ENDS
       delete only the portion of the word to the left/right of cursor if we're in the middle of a word.
     * Gtk::DELETE_WORDS
     * Gtk::DELETE_DISPLAY_LINES
     * Gtk::DELETE_DISPLAY_LINE_ENDS
     * Gtk::DELETE_PARAGRAPH_ENDS
       like C-k in Emacs (or its reverse)
     * Gtk::DELETE_PARAGRAPHS
       C-k in pico, kill whole line
     * Gtk::DELETE_WHITESPACE
        M-\ in Emacs

--- GtkDirectionType
     * Gtk::DIR_TAB_FORWARD
     * Gtk::DIR_TAB_BACKWARD
     * Gtk::DIR_UP
     * Gtk::DIR_DOWN
     * Gtk::DIR_LEFT
     * Gtk::DIR_RIGHT

--- GtkExpanderStyle
     * Gtk::EXPANDER_COLLAPSED
     * Gtk::EXPANDER_SEMI_COLLAPSED
     * Gtk::EXPANDER_SEMI_EXPANDED
     * Gtk::EXPANDER_EXPANDED

--- GtkIMPreeditStyle
     * Gtk::IM_PREEDIT_NOTHING
     * Gtk::IM_PREEDIT_CALLBACK

--- GtkIMStatusStyle
     * Gtk::IM_STATUS_NOTHING
     * Gtk::IM_STATUS_CALLBACK

--- GtkJustification
     Used for justifying the text inside a Gtk::Label widget. (See also Gtk::Alignment). 
     * Gtk::JUSTIFY_LEFT
       The text is placed at the left edge of the label.
     * Gtk::JUSTIFY_RIGHT
       The text is placed at the right edge of the label. 
     * Gtk::JUSTIFY_CENTER
       The text is placed in the center of the label. 
     * Gtk::JUSTIFY_FILL
       The text is placed is distributed across the label.

--- GtkMetricType
     * Gtk::PIXELS
     * Gtk::INCHES
     * Gtk::CENTIMETERS

--- GtkMovementStep
     * Gtk::MOVEMENT_LOGICAL_POSITIONS 
       move by forw/back graphemes 
     * Gtk::MOVEMENT_VISUAL_POSITIONS  
       move by left/right graphemes 
     * Gtk::MOVEMENT_WORDS                
       move by forward/back words 
     * Gtk::MOVEMENT_DISPLAY_LINES      
       move up/down lines (wrapped lines) 
     * Gtk::MOVEMENT_DISPLAY_LINE_ENDS 
       move up/down lines (wrapped lines) 
     * Gtk::MOVEMENT_PARAGRAPHS          
       move up/down paragraphs (newline-ended lines) 
     * Gtk::MOVEMENT_PARAGRAPH_ENDS     
       move to either end of a paragraph 
     * Gtk::MOVEMENT_PAGES
       move by pages 
     * Gtk::MOVEMENT_BUFFER_ENDS        
       move to ends of the buffer 
     * Gtk::MOVEMENT_HORIZONTAL_PAGES   
       move horizontally by pages 

--- GtkOrientation
     * Gtk::ORIENTATION_HORIZONTAL
     * Gtk::ORIENTATION_VERTICAL

--- GtkPackType
     Represents the packing location GtkBox children. (See: GtkVBox, GtkHBox, and GtkButtonBox). 
     * Gtk::PACK_START
       The child is packed into the start of the box
     * Gtk::PACK_END
       The child is packed into the end of the box  

--- GtkPathPriorityType
     * Gtk::PATH_PRIO_LOWEST       = 0
     * Gtk::PATH_PRIO_GTK	     = 4
     * Gtk::PATH_PRIO_APPLICATION = 8
     * Gtk::PATH_PRIO_THEME        = 10
     * Gtk::PATH_PRIO_RC            = 12
     * Gtk::PATH_PRIO_HIGHEST      = 15

--- GtkPathType
     * Gtk::PATH_WIDGET
     * Gtk::PATH_WIDGET_CLASS
     * Gtk::PATH_CLASS

--- GtkPolicyType
     Determines when a scroll bar will be visible. 
     * Gtk::POLICY_ALWAYS
       The scrollbar is always visible.
     * Gtk::POLICY_AUTOMATIC
       The scrollbar will appear and disappear as necessary. 
     * Gtk::POLICY_NEVER
       The scrollbar will never appear. 

--- GtkPositionType
     * Gtk::POS_LEFT
     * Gtk::POS_RIGHT
     * Gtk::POS_TOP
     * Gtk::POS_BOTTOM

--- GtkReliefStyle
     * Gtk::RELIEF_NORMAL
     * Gtk::RELIEF_HALF
     * Gtk::RELIEF_NONE

--- GtkResizeMode
     * Gtk::RESIZE_PARENT		
       Pass resize request to the parent 
     * Gtk::RESIZE_QUEUE		
       Queue resizes on this widget 
     * Gtk::RESIZE_IMMEDIATE		
       Perform the resizes now 

--- GtkScrollType
     * Gtk::SCROLL_NONE
     * Gtk::SCROLL_JUMP
     * Gtk::SCROLL_STEP_BACKWARD
     * Gtk::SCROLL_STEP_FORWARD
     * Gtk::SCROLL_PAGE_BACKWARD
     * Gtk::SCROLL_PAGE_FORWARD
     * Gtk::SCROLL_STEP_UP
     * Gtk::SCROLL_STEP_DOWN
     * Gtk::SCROLL_PAGE_UP
     * Gtk::SCROLL_PAGE_DOWN
     * Gtk::SCROLL_STEP_LEFT
     * Gtk::SCROLL_STEP_RIGHT
     * Gtk::SCROLL_PAGE_LEFT
     * Gtk::SCROLL_PAGE_RIGHT
     * Gtk::SCROLL_START
     * Gtk::SCROLL_END

--- GtkSelectionMode
     * Gtk::SELECTION_NONE
       Nothing can be selected
     * Gtk::SELECTION_SINGLE
     * Gtk::SELECTION_BROWSE
     * Gtk::SELECTION_MULTIPLE

--- GtkShadowType
     Used to change the appearance of an outline typically provided by a GtkFrame. 
     * Gtk::SHADOW_NONE
       No outline.
     * Gtk::SHADOW_IN
       The outline is bevelled inwards.
     * Gtk::SHADOW_OUT
       The outline is bevelled outwards like a button. 
     * Gtk::SHADOW_ETCHED_IN
       The outline itself is an inward bevel, but the frame does
     * Gtk::SHADOW_ETCHED_OUT


--- GtkStateType
     This type indicates the current state of a widget; the state determines how the widget is drawn. The GtkStateType is also used to identify different colors in a Gtk::Style for drawing, so states can be used for subparts of a widget as well as entire widgets. 
     * Gtk::STATE_NORMAL
       State during normal operation.
     * Gtk::STATE_ACTIVE
       State of a currently active widget, such as a depressed button. 
     * Gtk::STATE_PRELIGHT
       State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. 
     * Gtk::STATE_SELECTED
       State of a selected item, such the selected row in a list. 
     * Gtk::STATE_INSENSITIVE
       State indicating that the widget is unresponsive to user actions.  

--- GtkToolbarStyle
     Used to customize the appearance of a Gtk::Toolbar. Note that setting the toolbar style overrides the user's preferences for the default toolbar style. 
     * Gtk::TOOLBAR_ICONS
       Buttons display only icons in the toolbar.
     * Gtk::TOOLBAR_TEXT
       Buttons display only text labels in the toolbar.
     * Gtk::TOOLBAR_BOTH
       Buttons display text and icons in the toolbar. 
     * Gtk::TOOLBAR_BOTH_HORIZ
       Buttons display icons and text alongside each other, rather than vertically stacked

--- GtkUpdateType
     * Gtk::UPDATE_CONTINUOUS
     * Gtk::UPDATE_DISCONTINUOUS
     * Gtk::UPDATE_DELAYED

--- GtkVisibility
     * Gtk::VISIBILITY_NONE
     * Gtk::VISIBILITY_PARTIAL
     * Gtk::VISIBILITY_FULL

--- GtkWindowPosition
     Window placement can be influenced using these constants. 
     * Gtk::WIN_POS_NONE
       No influence is made on placement.
     * Gtk::WIN_POS_CENTER
       Windows should be placed in the center of the screen. 
     * Gtk::WIN_POS_MOUSE
       Windows should be placed at the current mouse position.
     * Gtk::WIN_POS_CENTER_ALWAYS
       Keep window centered as it changes size, etc.
     * Gtk::WIN_POS_CENTER_ON_PARENT
       Center the window on its transient parent (see Gtk::Window#set_transient_for).  

--- GtkWindowType
     A Gtk::Window can be one of these types. Most things you'd consider a "window" should have type Gtk::WINDOW_TOPLEVEL; windows with this type are managed by the window manager and have a frame by default (call Gtk::Window#set_decorated to toggle the frame). Windows with type Gtk::WINDOW_POPUP are ignored by the window manager; window manager keybindings won't work on them, the window manager won't decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). Gtk::WINDOW_POPUP is used to implement widgets such as Gtk::Menu or tooltips that you normally don't think of as windows per se. Nearly all windows should be Gtk::WINDOW_TOPLEVEL. In particular, do not use Gtk::WINDOW_POPUP just to turn off the window borders; use Gtk::Window#set_decorated for that. 
     * Gtk::WINDOW_TOPLEVEL
       A regular window, such as a dialog.
     * Gtk::WINDOW_POPUP
       A special window such as a tooltip.  

--- GtkSortType
     Determines the direction of a sort. 
     * Gtk::SORT_ASCENDING
       Sorting is in ascending order. 
     * Gtk::SORT_DESCENDING
       Sorting is in descending order.

- ((<Masao>))



ruby-gnome2-cvs メーリングリストの案内
アーカイブの一覧に戻る