Rechercher une page de manuel
Gtk2::CList.3pm
Langue: en
Version: 2008-01-15 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::CListHIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::CList
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable
METHODS
widget = Gtk2::CList->new ($columns)
-
- •
- $columns (integer)
widget = Gtk2::CList->new_with_titles ($title, ...)
-
- •
- $title (string)
- •
- ... (list)
integer = $clist->append ($text, ...)
integer = $clist->append ($text, ...)
-
- •
- $text (string)
- •
- ... (list)
$clist->set_auto_sort ($auto_sort)
$clist->set_auto_sort ($auto_sort)
-
- •
- $auto_sort (boolean)
$clist->set_background ($row, $color)
$clist->set_background ($row, $color)
-
- •
- $row (integer)
- •
- $color (Gtk2::Gdk::Color)
$clist->set_button_actions ($button, $button_actions)
$clist->set_button_actions ($button, $button_actions)
-
- •
- $button (integer)
- •
- $button_actions (Gtk2::ButtonAction)
style = $clist->get_cell_style ($row, $column)
style = $clist->get_cell_style ($row, $column)
-
- •
- $row (integer)
- •
- $column (integer)
$clist->set_cell_style ($row, $column, $style)
$clist->set_cell_style ($row, $column, $style)
-
- •
- $row (integer)
- •
- $column (integer)
- •
- $style (Gtk2::Style)
celltype = $clist->get_cell_type ($row, $column)
celltype = $clist->get_cell_type ($row, $column)
-
- •
- $row (integer)
- •
- $column (integer)
$clist->clear
$clist->clear
window = $clist->clist_window
window = $clist->clist_window
$clist->set_column_auto_resize ($column, $auto_resize)
$clist->set_column_auto_resize ($column, $auto_resize)
-
- •
- $column (integer)
- •
- $auto_resize (boolean)
$clist->set_column_justification ($column, $justification)
$clist->set_column_justification ($column, $justification)
-
- •
- $column (integer)
- •
- $justification (Gtk2::Justification)
$clist->set_column_max_width ($column, $max_width)
$clist->set_column_max_width ($column, $max_width)
-
- •
- $column (integer)
- •
- $max_width (integer)
$clist->set_column_min_width ($column, $min_width)
$clist->set_column_min_width ($column, $min_width)
-
- •
- $column (integer)
- •
- $min_width (integer)
$clist->set_column_resizeable ($column, $resizeable)
$clist->set_column_resizeable ($column, $resizeable)
-
- •
- $column (integer)
- •
- $resizeable (boolean)
$clist->column_title_active ($column)
$clist->column_title_active ($column)
-
- •
- $column (integer)
string = $clist->get_column_title ($column)
string = $clist->get_column_title ($column)
-
- •
- $column (integer)
$clist->column_title_passive ($column)
$clist->column_title_passive ($column)
-
- •
- $column (integer)
$clist->set_column_title ($column, $title)
$clist->set_column_title ($column, $title)
-
- •
- $column (integer)
- •
- $title (string)
$clist->column_titles_active
$clist->column_titles_active
$clist->column_titles_hide
$clist->column_titles_hide
$clist->column_titles_passive
$clist->column_titles_passive
$clist->column_titles_show
$clist->column_titles_show
$clist->set_column_visibility ($column, $visible)
$clist->set_column_visibility ($column, $visible)
-
- •
- $column (integer)
- •
- $visible (boolean)
widget = $clist->get_column_widget ($column)
widget = $clist->get_column_widget ($column)
-
- •
- $column (integer)
$clist->set_column_widget ($column, $widget)
$clist->set_column_widget ($column, $widget)
-
- •
- $column (integer)
- •
- $widget (Gtk2::Widget)
$clist->set_column_width ($column, $width)
$clist->set_column_width ($column, $width)
-
- •
- $column (integer)
- •
- $width (integer)
integer = $clist->columns
integer = $clist->columns
integer = $clist->columns_autosize
integer = $clist->columns_autosize
$clist->set_compare_func ($handler, $data)
$clist->set_compare_func ($handler, $data)
-
- •
- $handler (scalar)
- •
- $data (scalar)
integer = $clist->find_row_from_data ($data)
integer = $clist->find_row_from_data ($data)
-
- •
- $data (scalar)
integer = $clist->focus_row
integer = $clist->focus_row
$clist->set_focus_row ($row)
$clist->set_focus_row ($row)
-
- •
- $row (integer)
$clist->set_foreground ($row, $color)
$clist->set_foreground ($row, $color)
-
- •
- $row (integer)
- •
- $color (Gtk2::Gdk::Color)
$clist->freeze
$clist->freeze
adjustment = $clist->get_hadjustment
adjustment = $clist->get_hadjustment
$clist->set_hadjustment ($adjustment)
$clist->set_hadjustment ($adjustment)
-
- •
- $adjustment (Gtk2::Adjustment)
integer = $clist->insert ($row, $text, ...)
integer = $clist->insert ($row, $text, ...)
-
- •
- $row (integer)
- •
- $text (string)
- •
- ... (list)
$clist->moveto ($row, $column, $row_align, $col_align)
$clist->moveto ($row, $column, $row_align, $col_align)
-
- •
- $row (integer)
- •
- $column (integer)
- •
- $row_align (double)
- •
- $col_align (double)
integer = $clist->optimal_column_width ($column)
integer = $clist->optimal_column_width ($column)
-
- •
- $column (integer)
list = $clist->get_pixmap ($row, $column)
list = $clist->get_pixmap ($row, $column)
-
- •
- $row (integer)
- •
- $column (integer)
$clist->set_pixmap ($row, $column, $pixmap, $mask)
$clist->set_pixmap ($row, $column, $pixmap, $mask)
-
- •
- $row (integer)
- •
- $column (integer)
- •
- $pixmap (Gtk2::Gdk::Pixmap)
- •
- $mask (Gtk2::Gdk::Bitmap or undef)
list = $clist->get_pixtext ($row, $column)
list = $clist->get_pixtext ($row, $column)
-
- •
- $row (integer)
- •
- $column (integer)
$clist->set_pixtext ($row, $column, $text, $spacing, $pixmap, $mask)
$clist->set_pixtext ($row, $column, $text, $spacing, $pixmap, $mask)
-
- •
- $row (integer)
- •
- $column (integer)
- •
- $text (string)
- •
- $spacing (unsigned)
- •
- $pixmap (Gtk2::Gdk::Pixmap)
- •
- $mask (Gtk2::Gdk::Bitmap or undef)
integer = $clist->prepend ($text, ...)
integer = $clist->prepend ($text, ...)
-
- •
- $text (string)
- •
- ... (list)
$clist->remove ($row)
$clist->remove ($row)
-
- •
- $row (integer)
$clist->set_reorderable ($reorderable)
$clist->set_reorderable ($reorderable)
-
- •
- $reorderable (boolean)
scalar = $clist->get_row_data ($row)
scalar = $clist->get_row_data ($row)
-
- •
- $row (integer)
$clist->set_row_data ($row, $data)
$clist->set_row_data ($row, $data)
-
- •
- $row (integer)
- •
- $data (scalar)
$clist->set_row_height ($height)
$clist->set_row_height ($height)
-
- •
- $height (integer)
visibility = $clist->row_is_visible ($row)
visibility = $clist->row_is_visible ($row)
-
- •
- $row (integer)
@rows = $clist->row_list
@rows = $clist->row_list
- Returns a list of GtkCListRow.
$clist->row_move ($source_row, $dest_row)
$clist->row_move ($source_row, $dest_row)
-
- •
- $source_row (integer)
- •
- $dest_row (integer)
style = $clist->get_row_style ($row)
style = $clist->get_row_style ($row)
-
- •
- $row (integer)
$clist->set_row_style ($row, $style)
$clist->set_row_style ($row, $style)
-
- •
- $row (integer)
- •
- $style (Gtk2::Style)
integer = $clist->rows
integer = $clist->rows
$clist->select_all
$clist->select_all
$clist->select_row ($row, $column)
$clist->select_row ($row, $column)
-
- •
- $row (integer)
- •
- $column (integer)
boolean = $clist->get_selectable ($row)
boolean = $clist->get_selectable ($row)
-
- •
- $row (integer)
$clist->set_selectable ($row, $selectable)
$clist->set_selectable ($row, $selectable)
-
- •
- $row (integer)
- •
- $selectable (boolean)
@indices = $clist->selection
@indices = $clist->selection
- Returns a list of the row numbers of the current selection.
list = $clist->get_selection_info ($x, $y)
list = $clist->get_selection_info ($x, $y)
-
- •
- $x (integer)
- •
- $y (integer)
selectionmode = $clist->selection_mode
selectionmode = $clist->selection_mode
$clist->set_selection_mode ($mode)
$clist->set_selection_mode ($mode)
-
- •
- $mode (Gtk2::SelectionMode)
$clist->set_shadow_type ($type)
$clist->set_shadow_type ($type)
-
- •
- $type (Gtk2::ShadowType)
$clist->set_shift ($row, $column, $vertical, $horizontal)
$clist->set_shift ($row, $column, $vertical, $horizontal)
-
- •
- $row (integer)
- •
- $column (integer)
- •
- $vertical (integer)
- •
- $horizontal (integer)
$clist->sort
$clist->sort
integer = $clist->sort_column
integer = $clist->sort_column
$clist->set_sort_column ($column)
$clist->set_sort_column ($column)
-
- •
- $column (integer)
sorttype = $clist->sort_type
sorttype = $clist->sort_type
$clist->set_sort_type ($sort_type)
$clist->set_sort_type ($sort_type)
-
- •
- $sort_type (Gtk2::SortType)
$clist->swap_rows ($row1, $row2)
$clist->swap_rows ($row1, $row2)
-
- •
- $row1 (integer)
- •
- $row2 (integer)
string = $clist->get_text ($row, $column)
string = $clist->get_text ($row, $column)
-
- •
- $row (integer)
- •
- $column (integer)
$clist->set_text ($row, $column, $text)
$clist->set_text ($row, $column, $text)
-
- •
- $row (integer)
- •
- $column (integer)
- •
- $text (string)
$clist->thaw
$clist->thaw
$clist->undo_selection
$clist->undo_selection
$clist->unselect_all
$clist->unselect_all
$clist->unselect_row ($row, $column)
$clist->unselect_row ($row, $column)
-
- •
- $row (integer)
- •
- $column (integer)
$clist->set_use_drag_icons ($use_icons)
$clist->set_use_drag_icons ($use_icons)
-
- •
- $use_icons (boolean)
adjustment = $clist->get_vadjustment
adjustment = $clist->get_vadjustment
$clist->set_vadjustment ($adjustment)
$clist->set_vadjustment ($adjustment)
-
- •
- $adjustment (Gtk2::Adjustment)
PROPERTIES
- 'n-columns' (Glib::UInt : readable / writable / construct-only / private)
- 'reorderable' (boolean : readable / writable / private)
- 'row-height' (Glib::UInt : readable / writable / private)
- 'selection-mode' (Gtk2::SelectionMode : readable / writable / private)
- 'shadow-type' (Gtk2::ShadowType : readable / writable / private)
- 'sort-type' (Gtk2::SortType : readable / writable / private)
- 'titles-active' (boolean : readable / writable / private)
- 'use-drag-icons' (boolean : readable / writable / private)
SIGNALS
- set-scroll-adjustments (Gtk2::CList, Gtk2::Adjustment, Gtk2::Adjustment)
- select-row (Gtk2::CList, integer, integer, Gtk2::Gdk::Event)
- unselect-row (Gtk2::CList, integer, integer, Gtk2::Gdk::Event)
- row-move (Gtk2::CList, integer, integer)
- click-column (Gtk2::CList, integer)
- resize-column (Gtk2::CList, integer, integer)
- toggle-focus-row (Gtk2::CList)
- select-all (Gtk2::CList)
- unselect-all (Gtk2::CList)
- undo-selection (Gtk2::CList)
- start-selection (Gtk2::CList)
- end-selection (Gtk2::CList)
- toggle-add-mode (Gtk2::CList)
- extend-selection (Gtk2::CList, Gtk2::ScrollType, Glib::Float, boolean)
- scroll-vertical (Gtk2::CList, Gtk2::ScrollType, Glib::Float)
- scroll-horizontal (Gtk2::CList, Gtk2::ScrollType, Glib::Float)
- abort-column-resize (Gtk2::CList)
ENUMS AND FLAGS
flags Gtk2::ButtonAction
- •
- 'ignored' / 'GTK_BUTTON_IGNORED'
- •
- 'selects' / 'GTK_BUTTON_SELECTS'
- •
- 'drags' / 'GTK_BUTTON_DRAGS'
- •
- 'expands' / 'GTK_BUTTON_EXPANDS'
enum Gtk2::CellType
- •
- 'empty' / 'GTK_CELL_EMPTY'
- •
- 'text' / 'GTK_CELL_TEXT'
- •
- 'pixmap' / 'GTK_CELL_PIXMAP'
- •
- 'pixtext' / 'GTK_CELL_PIXTEXT'
- •
- 'widget' / 'GTK_CELL_WIDGET'
enum Gtk2::Justification
- •
- 'left' / 'GTK_JUSTIFY_LEFT'
- •
- 'right' / 'GTK_JUSTIFY_RIGHT'
- •
- 'center' / 'GTK_JUSTIFY_CENTER'
- •
- 'fill' / 'GTK_JUSTIFY_FILL'
enum Gtk2::ScrollType
- •
- 'none' / 'GTK_SCROLL_NONE'
- •
- 'jump' / 'GTK_SCROLL_JUMP'
- •
- 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
- •
- 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
- •
- 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
- •
- 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
- •
- 'step-up' / 'GTK_SCROLL_STEP_UP'
- •
- 'step-down' / 'GTK_SCROLL_STEP_DOWN'
- •
- 'page-up' / 'GTK_SCROLL_PAGE_UP'
- •
- 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
- •
- 'step-left' / 'GTK_SCROLL_STEP_LEFT'
- •
- 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
- •
- 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
- •
- 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
- •
- 'start' / 'GTK_SCROLL_START'
- •
- 'end' / 'GTK_SCROLL_END'
enum Gtk2::SelectionMode
- •
- 'none' / 'GTK_SELECTION_NONE'
- •
- 'single' / 'GTK_SELECTION_SINGLE'
- •
- 'browse' / 'GTK_SELECTION_BROWSE'
- •
- 'multiple' / 'GTK_SELECTION_MULTIPLE'
- •
- 'extended' / 'GTK_SELECTION_EXTENDED'
enum Gtk2::ShadowType
- •
- 'none' / 'GTK_SHADOW_NONE'
- •
- 'in' / 'GTK_SHADOW_IN'
- •
- 'out' / 'GTK_SHADOW_OUT'
- •
- 'etched-in' / 'GTK_SHADOW_ETCHED_IN'
- •
- 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
enum Gtk2::SortType
- •
- 'ascending' / 'GTK_SORT_ASCENDING'
- •
- 'descending' / 'GTK_SORT_DESCENDING'
enum Gtk2::Visibility
- •
- 'none' / 'GTK_VISIBILITY_NONE'
- •
- 'partial' / 'GTK_VISIBILITY_PARTIAL'
- •
- 'full' / 'GTK_VISIBILITY_FULL'
SEE ALSO
Gtk2::Deprecated, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::ContainerCOPYRIGHT
Copyright (C) 2003-2004 by muppet. Large portions of this code come directly from Gtk-Perl, which was written by Kenneth Albanowski, Paolo Maloro, and others.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre