Forum und email

GtkCList

DEPRECATED. A multi-columned scrolling list widget.

Йерархия на обектите

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkCList

Директни подкласове

Описание

The GtkCList widget is a useful multi-columned scrolling list. It can display data in nicely aligned vertical columns, with titles at the top of the list.

ВНИМАНИЕ! Този клас вече не се използва в PHP-GTK 2 и при писането на нови програми НЕ трябва да бъде използва Use GtkTreeView instead.

Constructors

GtkCList ([int columns = 1]);

-- DEPRECATED. Creates a new GtkCList object.

Методи

clear()
  DEPRECATED. Removes all the rows.
column_title_active()
  DEPRECATED. Sets the specified column to become selectable.
column_title_passive()
  DEPRECATED. Causes the specified column title button to not respond to events.
column_titles_active()
  DEPRECATED. Causes all column title buttons to become active.
column_titles_hide()
  DEPRECATED. Hides the column titles.
column_titles_passive()
  DEPRECATED. Causes all column title buttons to become passive.
column_titles_show()
  DEPRECATED. Makes the column titles visible.
columns_autosize()
  DEPRECATED. Auto-sizes all columns in the CList and returns the total width of the CList.
freeze()
  DEPRECATED. Causes the GtkCList to stop updating its visuals.
get_cell_style()
  DEPRECATED. Gets the current style of the specified cell.
get_cell_type()
  DEPRECATED. Checks the type of cell at the location specified.
get_column_title()
  DEPRECATED. Returns the title of the specified column.
get_column_widget()
  DEPRECATED. Sets a widget to be used as the specified column's title.
get_hadjustment()
  DEPRECATED. Gets the GtkAdjustment currently being used for the horizontal aspect.
get_row_style()
  DEPRECATED. Gets the style set for the specified row.
get_selectable()
  DEPRECATED. Gets whether the specified row is selectable or not.
get_selection_info()
  DEPRECATED. Gets the row and column at the specified pixel position in the CList.
get_vadjustment()
  DEPRECATED. Gets the GtkAdjustment currently being used for the vertical aspect.
moveto()
  DEPRECATED. Tells the CList widget to visually move to the specified row and column.
optimal_column_width()
  DEPRECATED. Gets the required width in pixels that is needed to show everything in the specified column.
row_is_visible()
  DEPRECATED. Checks if the specified row is visible.
row_move()
  DEPRECATED. Allows you to move a row from one position to another in the list.
select_all()
  DEPRECATED. Selects all rows in the CList.
select_row()
  DEPRECATED. Selects the specified row.
set_auto_sort()
  DEPRECATED. Turns on or off auto sort of the GtkCList.
set_background()
  DEPRECATED. Sets the background color for the specified row.
set_button_actions()
  DEPRECATED. Sets the action(s) that the specified mouse button will have on the list.
set_cell_style()
  DEPRECATED. Sets the style for the specified cell.
set_column_auto_resize()
  DEPRECATED. Lets you specify whether a column should be automatically resized by the widget when data is added or removed.
set_column_justification()
  DEPRECATED. Sets the justification to be used for all text in the specified column.
set_column_max_width()
  DEPRECATED. Causes the column specified to have a maximum width.
set_column_min_width()
  DEPRECATED. Causes the column specified to have a minimum width.
set_column_resizeable()
  DEPRECATED. Lets you specify whether a specified column should be resizeable by the user.
set_column_title()
  DEPRECATED. Set the title of the specified column.
set_column_visibility()
  DEPRECATED. Allows you to set whether a specified column in the GtkCList should be hidden or shown.
set_column_widget()
  DEPRECATED. Sets a widget to be used as the specified column's title.
set_column_width()
  DEPRECATED. Causes the column specified to be set to a specified width.
set_foreground()
  DEPRECATED. Sets the foreground color for the specified row.
set_hadjustment()
  DEPRECATED. Sets the GtkAdjustment to be used for the horizontal aspect.
set_pixmap()
  DEPRECATED. Sets a pixmap for the specified cell.
set_pixtext()
  DEPRECATED. Sets text and a pixmap/bitmap on the specified cell.
set_reorderable()
  DEPRECATED. Sets whether the CList's rows are re-orderable using drag-and-drop.
set_row_height()
  DEPRECATED. Causes the GtkCList to have a specified height for its rows.
set_row_style()
  DEPRECATED. Sets the style for all cells in the specified row.
set_selectable()
  DEPRECATED. Sets whether the specified row is selectable or not.
set_selection_mode()
  DEPRECATED. Sets the selection mode for the specified CList.
set_shadow_type()
  DEPRECATED. Set the outer border (shadow) of the widget
set_shift()
  DEPRECATED. Sets the vertical and horizontal shift of the specified cell.
set_sort_column()
  DEPRECATED. Sets the sort column of the CList
set_sort_type()
  DEPRECATED. Sets the sort type of the GtkClist.
set_text()
  DEPRECATED. Sets the displayed text in the specified cell.
set_use_drag_icons()
  DEPRECATED. Determines whether the GtkCList should use icons when doing drag-and-drop operations.
set_vadjustment()
  DEPRECATED. Sets the GtkAdjustment to be used for the vertical aspect.
sort()
  DEPRECATED. Sorts the CList.
swap_rows()
  DEPRECATED. Swaps the two specified rows with each other.
thaw()
  DEPRECATED. Causes the specified GtkCList to allow visual updates.
undo_selection()
  DEPRECATED. Undoes the last selection for an "extended selection mode" list.
unselect_all()
  DEPRECATED. Unselects all rows in the list.
unselect_row()
  DEPRECATED. Unselects the specified row.
remove_row()
 

Полета

columns:
 
focus_row:
 
rows:
 
selection:
 

Сигнали

"abort-column-resize"
  Emitted when a column resize is aborted.
"click-column"
  Emitted when a column title is clicked.
"end-selection"
  Emitted when a selection ends in a multiple selection CList.
"extend-selection"
  Emitted when the selection is extended.
"resize-column"
  This signal is emitted when a column is resized.
"row-move"
  Emitted when a row is moved.
"scroll-horizontal"
  Emitted when the CList is scrolled horizontally.
"scroll-vertical"
  Emitted when the CList is scrolled vertically.
"select-all"
  Emitted when all the rows are selected in a CList.
"select-row"
  Emitted when the user selects a row in the list.
"set-scroll-adjustments"
 
"start-selection"
  Emitted when a drag-selection is started in a multiple-selection CList.
"toggle-add-mode"
  Emitted when "add mode" is toggled.
"toggle-focus-row"
  Emitted when a row's "focus" is toggled.
"undo-selection"
  Emitted when an undo selection occurs in the CList.
"unselect-all"
  Emitted when all rows are unselected in a CList.
"unselect-row"
  Emitted when the user unselects a row in the list.