Web hosting and cheap domain register services
  

 Home

GTK Classes
Prev GtkCList Next

GtkCList

A multi-columned scrolling list widget.

Object Hierarchy

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

Description

Constructor

GtkCList (int columns, Array titles]);

-- Creates a new GtkCList object

Methods

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

Signals

"select-row"
  This signal is emitted when the user selects a row in the list.
"unselect-row"
  This signal is emitted when the user unselects a row in the list.
"row-move"
  This signal is emitted when a row is moved.
"click-column"
  This signal is emitted when a column title is clicked.
"resize-column"
  This signal is emitted when a column is resized.

Properties

sort_column:
  The current row after which the list shall be sorted.
sort_type:
  The current sort type (order)


Prev Home Next
GtkCheckMenuItem::active Up GtkCList Constructor

 

  

Network sites:

Active-Domain.com: cheap domain register and domain name registration

Cheap domains registration and domain transfer with free domain hosting 

 
 
Quotes:
Where a government has come into power through some form of popular vote, fraudulent or not, and maintains at least an appearance of constitutional legality, the guerrilla outbreak cannot be promoted, since the possibilities of peaceful struggle have not yet been exhausted.Whenever death may surprise us, let it be welcome if our battle cry has reached even one receptive ear and another hand reaches out to take up our arms.There are no boundaries in this struggle to the death. We cannot be indifferent to what happens anywhere in the world, for a victory by any country over imperialism is our victory; just as any country's defeat is a defeat for all of us.The amount of poverty and suffering required for the emergence of a Rockefeller, and the amount of depravity that the accumulation of a fortune of such magnitude entails, are left out of the picture, and it is not always possible to make the people in general see this.Many will call me an adventurer - and that I am, only one of a different sort: one of those who risks his skin to prove his platitudes.Whoever, in middle age, attempts to realize the wishes and hopes of his early youth, invariably deceives himself. Each ten years of a man's life has its own fortunes, its own hopes, its own desires.Life belongs to the living, and he who lives must be prepared for changes.Fools and sensible men are equally innocuous. It is in the half fools and the half wise that the danger lies.Destiny grants us our wishes, but in its own way, in order to give us something beyond our wishes.We must learn to be still in the midst of activity and to be vibrantly alive in repose.There is certainly no absolute standard of beauty. That precisely is what makes its pursuit so interesting.The conventional view serves to protect us from the painful job of thinking.Power is not something that can be assumed or discarded at will like underwear.People are the common denominator of progress. So - no improvement is possible with unimproved people, and advance is certain when people are liberated and educated.Faced with the choice between changing one's mind and proving that there is no need to do so, almost everyone gets busy on the proof.It is a far, far better thing to have a firm anchor in nonsense than to put out on the troubled sea of thought.The world is full of willing people, some willing to work, the others willing to let them.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php