Class: GOffice::Selector
- Inherits:
-
Gtk::Box
- Object
- Gtk::Box
- GOffice::Selector
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#activate ⇒ nil
Updates slector swatch and emits an "activate" signal.
-
#active=(index) ⇒ Boolean
Sets current selection index, and emits "activate" signal if selection is actually changed.
-
#get_active(is_auto) ⇒ Integer
Retrieves current selection index, and set is_auto to TRUE if current selection was set by clicking on automatic palette item.
-
#initialize(initial_type, default_type) ⇒ Gtk::Widget
constructor
Creates a new line type selector.
-
#setup_dnd(dnd_target, dnd_length, data_get, data_received, fill_icon) ⇒ nil
Setups drag and drop for selector.
-
#update_swatch ⇒ nil
Requests a swatch update.
-
#user_data ⇒ GObject
A convenience function to access user_data of selector palette.
Constructor Details
#initialize(initial_type, default_type) ⇒ Gtk::Widget
Creates a new line type selector.
Instance Method Details
#activate ⇒ nil
Updates slector swatch and emits an "activate" signal.
#active=(index) ⇒ Boolean
Sets current selection index, and emits "activate" signal if selection is actually changed.
#get_active(is_auto) ⇒ Integer
Retrieves current selection index, and set is_auto to TRUE if current selection was set by clicking on automatic palette item.
#setup_dnd(dnd_target, dnd_length, data_get, data_received, fill_icon) ⇒ nil
Setups drag and drop for selector.
#update_swatch ⇒ nil
Requests a swatch update.
#user_data ⇒ GObject
A convenience function to access user_data of selector palette. (See go_palette_get_user_data).