Index

C++ Code Documentation

gtk::widget0::CList

Derived from: widget::ui::List , gtk::widget0::Container

Children: gtk::widget0::CTree, gtk::widget1::CListCb

File: WIDGET/gtk/widget0/CList.H

public:
  • CList( int columns ) : Container( gtk_clist_new( columns ) );
  • CList( int columns, char *titles[] ) : Container( gtk_clist_new_with_titles( columns, titles ) );
  • uint rows() const;
  • void set_column_widget( int column, Widget *x );
  • bool selected() const;
    returns true iff an item is selected
  • uint selected_row() const;
  • return (uint)(int unsigned long)L->data;
    NOTE
  • } virtual bool showing( uint n ) const;
  • virtual void show( bool state = true );
  • virtual void show( uint n, bool state );
  • virtual void set_sensitive( uint n, bool state );
  • virtual uint item_count() const;
  • virtual void append(char const *label);
  • virtual void set( uint n );
  • virtual uint get() const;
  • void construct( int columns, char *titles[] );
  • void set_hadjustment( GtkAdjustment *adjustment );
  • void set_vadjustment( GtkAdjustment *adjustment );
  • GtkAdjustment* get_hadjustment();
  • GtkAdjustment* get_vadjustment();
  • void set_shadow_type( GtkShadowType type );
  • void set_selection_mode( GtkSelectionMode mode );
  • void set_reorderable( bool reorderable );
  • void set_use_drag_icons( bool use_icons );
  • void set_button_actions( uint button, guint8 button_actions );
  • void freeze();
  • void thaw();
  • void column_titles_show();
  • void column_titles_hide();
  • void column_title_active( int column );
  • void column_title_passive( int column );
  • void column_titles_active();
  • void column_titles_passive();
  • void set_column_title( int column, char const *title );
  • void set_column_widget( int column, GtkWidget *widget );
  • void set_column_justification( int column, GtkJustification justification );
  • void set_column_visibility( int column, bool visible );
  • void set_column_resizeable( int column, bool resizeable );
  • void set_column_auto_resize( int column, bool auto_resize );
  • int columns_autosize();
  • int optimal_column_width( int column );
  • void set_column_width( int column, int width );
  • void set_column_min_width( int column, int min_width );
  • void set_column_max_width( int column, int max_width );
  • void set_row_height( uint height );
  • void moveto( int row, int column, float row_align, float col_align );
  • GtkVisibility row_is_visible( int row );
  • GtkCellType get_cell_type( int row, int column );
  • void set_text( int row, int column, char const *text );
  • int get_text( int row, int column, char **text );
  • void set_pixmap( int row, int column, GdkPixmap *pixmap, GdkBitmap *mask );
  • int get_pixmap( int row, int column, GdkPixmap **pixmap, GdkBitmap **mask );
  • void set_pixtext( int row, int column, char const *text, guint8 spacing, GdkPixmap *pixmap, GdkBitmap *mask );
  • int get_pixtext( int row, int column, char **text, guint8 *spacing, GdkPixmap **pixmap, GdkBitmap **mask );
  • void set_foreground( int row, GdkColor *color );
  • void set_background( int row, GdkColor *color );
  • void set_cell_style( int row, int column, GtkStyle *style );
  • void set_row_style( int row, GtkStyle *style );
  • void set_shift( int row, int column, int vertical, int horizontal );
  • void set_selectable( int row, bool selectable );
  • bool get_selectable( int row );
  • int prepend( char const *text[] );
  • int append( char const *text[] );
  • int insert( int row, char const *text[] );
  • void remove( uint row );
  • void set_row_data( int row, gpointer data );
  • void set_row_data_full( int row, gpointer data, GtkDestroyNotify destroy );
  • gpointer get_row_data( int row );
  • int find_row_from_data( gpointer data );
  • void select_row( int row, int column );
  • void unselect_row( int row, int column );
  • void undo_selection();
  • void clear();
  • int get_selection_info( int x, int y, int *row, int *column );
  • void select_all();
  • void unselect_all();
  • void swap_rows( int row1, int row2 );
  • void row_move( int source_row, int dest_row );
  • void set_compare_func( GtkCListCompareFunc cmp_func );
  • void set_sort_column( int column );
  • void set_sort_type( GtkSortType sort_type );
  • void sort();
  • void set_auto_sort( bool auto_sort );
protected:
  • CList( GtkWidget *x ) : Container(x);
private:


gtk::widget0::CList GANG