GTK+ Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
"n_columns" guint : Read / Write / Construct Only "shadow_type" GtkShadowType : Read / Write "selection_mode" GtkSelectionMode : Read / Write "row_height" guint : Read / Write "reorderable" gboolean : Read / Write "titles_active" gboolean : Read / Write "use_drag_icons" gboolean : Read / Write |
"select-row" void user_function (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer user_data); "unselect-row" void user_function (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer user_data); "row-move" void user_function (GtkCList *clist, gint arg1, gint arg2, gpointer user_data); "click-column" void user_function (GtkCList *clist, gint column, gpointer user_data); "resize-column" void user_function (GtkCList *clist, gint column, gint width, gpointer user_data); "toggle-focus-row" void user_function (GtkCList *clist, gpointer user_data); "select-all" void user_function (GtkCList *clist, gpointer user_data); "unselect-all" void user_function (GtkCList *clist, gpointer user_data); "undo-selection" void user_function (GtkCList *clist, gpointer user_data); "start-selection" void user_function (GtkCList *clist, gpointer user_data); "end-selection" void user_function (GtkCList *clist, gpointer user_data); "toggle-add-mode" void user_function (GtkCList *clist, gpointer user_data); "extend-selection" void user_function (GtkCList *clist, GtkScrollType scroll_type, gfloat position, gboolean auto_start_selection, gpointer user_data); "scroll-vertical" void user_function (GtkCList *clist, GtkScrollType scroll_type, gfloat position, gpointer user_data); "scroll-horizontal" void user_function (GtkCList *clist, GtkScrollType scroll_type, gfloat position, gpointer user_data); "abort-column-resize" void user_function (GtkCList *clist, gpointer user_data); |
typedef enum { GTK_CELL_EMPTY, GTK_CELL_TEXT, GTK_CELL_PIXMAP, GTK_CELL_PIXTEXT, GTK_CELL_WIDGET } GtkCellType; |
typedef enum { GTK_BUTTON_IGNORED = 0, GTK_BUTTON_SELECTS = 1 << 0, GTK_BUTTON_DRAGS = 1 << 1, GTK_BUTTON_EXPANDS = 1 << 2 } GtkButtonAction; |
#define GTK_CLIST_SET_FLAG(clist,flag) (GTK_CLIST_FLAGS (clist) |= (GTK_ ## flag)) |
clist : | |
flag : |
#define GTK_CLIST_UNSET_FLAG(clist,flag) (GTK_CLIST_FLAGS (clist) &= ~(GTK_ ## flag)) |
clist : | |
flag : |
#define GTK_CLIST_IN_DRAG(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_IN_DRAG) |
clist : |
#define GTK_CLIST_ROW_HEIGHT_SET(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_ROW_HEIGHT_SET) |
clist : |
#define GTK_CLIST_SHOW_TITLES(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_SHOW_TITLES) |
clist : |
#define GTK_CLIST_CHILD_HAS_FOCUS(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_CHILD_HAS_FOCUS) |
clist : |
#define GTK_CLIST_ADD_MODE(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_ADD_MODE) |
clist : |
#define GTK_CLIST_AUTO_SORT(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_AUTO_SORT) |
clist : |
#define GTK_CLIST_AUTO_RESIZE_BLOCKED(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_AUTO_RESIZE_BLOCKED) |
clist : |
#define GTK_CLIST_REORDERABLE(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_REORDERABLE) |
clist : |
#define GTK_CLIST_USE_DRAG_ICONS(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_USE_DRAG_ICONS) |
clist : |
#define GTK_CLIST_DRAW_DRAG_LINE(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_DRAW_DRAG_LINE) |
clist : |
#define GTK_CLIST_DRAW_DRAG_RECT(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_DRAW_DRAG_RECT) |
clist : |
gint (*GtkCListCompareFunc) (GtkCList *clist, gconstpointer ptr1, gconstpointer ptr2); |
clist : | |
ptr1 : | |
ptr2 : | |
Returns : |
struct GtkCListColumn { gchar *title; GdkRectangle area; GtkWidget *button; GdkWindow *window; gint width; gint min_width; gint max_width; GtkJustification justification; guint visible : 1; guint width_set : 1; guint resizeable : 1; guint auto_resize : 1; guint button_passive : 1; }; |
struct GtkCListRow { GtkCell *cell; GtkStateType state; GdkColor foreground; GdkColor background; GtkStyle *style; gpointer data; GtkDestroyNotify destroy; guint fg_set : 1; guint bg_set : 1; guint selectable : 1; }; |
struct GtkCellText { GtkCellType type; gint16 vertical; gint16 horizontal; GtkStyle *style; gchar *text; }; |
struct GtkCellPixmap { GtkCellType type; gint16 vertical; gint16 horizontal; GtkStyle *style; GdkPixmap *pixmap; GdkBitmap *mask; }; |
struct GtkCellPixText { GtkCellType type; gint16 vertical; gint16 horizontal; GtkStyle *style; gchar *text; guint8 spacing; GdkPixmap *pixmap; GdkBitmap *mask; }; |
struct GtkCellWidget { GtkCellType type; gint16 vertical; gint16 horizontal; GtkStyle *style; GtkWidget *widget; }; |
struct GtkCell { GtkCellType type; gint16 vertical; gint16 horizontal; GtkStyle *style; union { gchar *text; struct { GdkPixmap *pixmap; GdkBitmap *mask; } pm; struct { gchar *text; guint8 spacing; GdkPixmap *pixmap; GdkBitmap *mask; } pt; GtkWidget *widget; } u; }; |
struct GtkCListDestInfo { GtkCListCellInfo cell; GtkCListDragPos insert_pos; }; |
typedef enum { GTK_CLIST_DRAG_NONE, GTK_CLIST_DRAG_BEFORE, GTK_CLIST_DRAG_INTO, GTK_CLIST_DRAG_AFTER } GtkCListDragPos; |
void gtk_clist_construct (GtkCList *clist, gint columns, gchar *titles[]); |
clist : | |
columns : | |
titles : |
GtkWidget* gtk_clist_new_with_titles (gint columns, gchar *titles[]); |
columns : | |
titles : | |
Returns : |
void gtk_clist_set_shadow_type (GtkCList *clist, GtkShadowType type); |
clist : | |
type : |
void gtk_clist_set_selection_mode (GtkCList *clist, GtkSelectionMode mode); |
clist : | |
mode : |
void gtk_clist_column_title_active (GtkCList *clist, gint column); |
clist : | |
column : |
void gtk_clist_column_title_passive (GtkCList *clist, gint column); |
clist : | |
column : |
void gtk_clist_set_column_title (GtkCList *clist, gint column, const gchar *title); |
clist : | |
column : | |
title : |
void gtk_clist_set_column_widget (GtkCList *clist, gint column, GtkWidget *widget); |
clist : | |
column : | |
widget : |
void gtk_clist_set_column_justification (GtkCList *clist, gint column, GtkJustification justification); |
clist : | |
column : | |
justification : |
void gtk_clist_set_column_visibility (GtkCList *clist, gint column, gboolean visible); |
clist : | |
column : | |
visible : |
void gtk_clist_set_column_resizeable (GtkCList *clist, gint column, gboolean resizeable); |
clist : | |
column : | |
resizeable : |
void gtk_clist_set_column_auto_resize (GtkCList *clist, gint column, gboolean auto_resize); |
clist : | |
column : | |
auto_resize : |
gint gtk_clist_optimal_column_width (GtkCList *clist, gint column); |
clist : | |
column : | |
Returns : |
void gtk_clist_set_column_width (GtkCList *clist, gint column, gint width); |
clist : | |
column : | |
width : |
void gtk_clist_set_column_min_width (GtkCList *clist, gint column, gint min_width); |
clist : | |
column : | |
min_width : |
void gtk_clist_set_column_max_width (GtkCList *clist, gint column, gint max_width); |
clist : | |
column : | |
max_width : |
void gtk_clist_set_row_height (GtkCList *clist, guint height); |
clist : | |
height : |
void gtk_clist_moveto (GtkCList *clist, gint row, gint column, gfloat row_align, gfloat col_align); |
clist : | |
row : | |
column : | |
row_align : | |
col_align : |
GtkVisibility gtk_clist_row_is_visible (GtkCList *clist, gint row); |
clist : | |
row : | |
Returns : |
GtkCellType gtk_clist_get_cell_type (GtkCList *clist, gint row, gint column); |
clist : | |
row : | |
column : | |
Returns : |
void gtk_clist_set_text (GtkCList *clist, gint row, gint column, const gchar *text); |
clist : | |
row : | |
column : | |
text : |
gint gtk_clist_get_text (GtkCList *clist, gint row, gint column, gchar **text); |
clist : | |
row : | |
column : | |
text : | |
Returns : |
void gtk_clist_set_pixmap (GtkCList *clist, gint row, gint column, GdkPixmap *pixmap, GdkBitmap *mask); |
clist : | |
row : | |
column : | |
pixmap : | |
mask : |
gint gtk_clist_get_pixmap (GtkCList *clist, gint row, gint column, GdkPixmap **pixmap, GdkBitmap **mask); |
clist : | |
row : | |
column : | |
pixmap : | |
mask : | |
Returns : |
void gtk_clist_set_pixtext (GtkCList *clist, gint row, gint column, const gchar *text, guint8 spacing, GdkPixmap *pixmap, GdkBitmap *mask); |
clist : | |
row : | |
column : | |
text : | |
spacing : | |
pixmap : | |
mask : |
gint gtk_clist_get_pixtext (GtkCList *clist, gint row, gint column, gchar **text, guint8 *spacing, GdkPixmap **pixmap, GdkBitmap **mask); |
clist : | |
row : | |
column : | |
text : | |
spacing : | |
pixmap : | |
mask : | |
Returns : |
void gtk_clist_set_foreground (GtkCList *clist, gint row, GdkColor *color); |
clist : | |
row : | |
color : |
void gtk_clist_set_background (GtkCList *clist, gint row, GdkColor *color); |
clist : | |
row : | |
color : |
void gtk_clist_set_cell_style (GtkCList *clist, gint row, gint column, GtkStyle *style); |
clist : | |
row : | |
column : | |
style : |
GtkStyle* gtk_clist_get_cell_style (GtkCList *clist, gint row, gint column); |
clist : | |
row : | |
column : | |
Returns : |
void gtk_clist_set_row_style (GtkCList *clist, gint row, GtkStyle *style); |
clist : | |
row : | |
style : |
GtkStyle* gtk_clist_get_row_style (GtkCList *clist, gint row); |
clist : | |
row : | |
Returns : |
void gtk_clist_set_shift (GtkCList *clist, gint row, gint column, gint vertical, gint horizontal); |
clist : | |
row : | |
column : | |
vertical : | |
horizontal : |
void gtk_clist_set_selectable (GtkCList *clist, gint row, gboolean selectable); |
clist : | |
row : | |
selectable : |
gboolean gtk_clist_get_selectable (GtkCList *clist, gint row); |
clist : | |
row : | |
Returns : |
gint gtk_clist_prepend (GtkCList *clist, gchar *text[]); |
clist : | |
text : | |
Returns : |
gint gtk_clist_insert (GtkCList *clist, gint row, gchar *text[]); |
clist : | |
row : | |
text : | |
Returns : |
void gtk_clist_set_row_data (GtkCList *clist, gint row, gpointer data); |
clist : | |
row : | |
data : |
void gtk_clist_set_row_data_full (GtkCList *clist, gint row, gpointer data, GtkDestroyNotify destroy); |
clist : | |
row : | |
data : | |
destroy : |
gpointer gtk_clist_get_row_data (GtkCList *clist, gint row); |
clist : | |
row : | |
Returns : |
gint gtk_clist_find_row_from_data (GtkCList *clist, gpointer data); |
clist : | |
data : | |
Returns : |
void gtk_clist_select_row (GtkCList *clist, gint row, gint column); |
clist : | |
row : | |
column : |
void gtk_clist_unselect_row (GtkCList *clist, gint row, gint column); |
clist : | |
row : | |
column : |
gint gtk_clist_get_selection_info (GtkCList *clist, gint x, gint y, gint *row, gint *column); |
clist : | |
x : | |
y : | |
row : | |
column : | |
Returns : |
void gtk_clist_swap_rows (GtkCList *clist, gint row1, gint row2); |
clist : | |
row1 : | |
row2 : |
void gtk_clist_set_compare_func (GtkCList *clist, GtkCListCompareFunc cmp_func); |
clist : | |
cmp_func : |
void gtk_clist_set_sort_column (GtkCList *clist, gint column); |
clist : | |
column : |
void gtk_clist_set_sort_type (GtkCList *clist, GtkSortType sort_type); |
clist : | |
sort_type : |
void gtk_clist_set_auto_sort (GtkCList *clist, gboolean auto_sort); |
clist : | |
auto_sort : |
gchar* gtk_clist_get_column_title (GtkCList *clist, gint column); |
clist : | |
column : | |
Returns : |
GtkWidget* gtk_clist_get_column_widget (GtkCList *clist, gint column); |
clist : | |
column : | |
Returns : |
GtkAdjustment* gtk_clist_get_hadjustment (GtkCList *clist); |
clist : | |
Returns : |
GtkAdjustment* gtk_clist_get_vadjustment (GtkCList *clist); |
clist : | |
Returns : |
void gtk_clist_row_move (GtkCList *clist, gint source_row, gint dest_row); |
clist : | |
source_row : | |
dest_row : |
void gtk_clist_set_button_actions (GtkCList *clist, guint button, guint8 button_actions); |
clist : | |
button : | |
button_actions : |
void gtk_clist_set_hadjustment (GtkCList *clist, GtkAdjustment *adjustment); |
clist : | |
adjustment : |
void gtk_clist_set_reorderable (GtkCList *clist, gboolean reorderable); |
clist : | |
reorderable : |
void gtk_clist_set_use_drag_icons (GtkCList *clist, gboolean use_icons); |
clist : | |
use_icons : |
void gtk_clist_set_vadjustment (GtkCList *clist, GtkAdjustment *adjustment); |
clist : | |
adjustment : |
void user_function (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer user_data); |
clist : | the object which received the signal. |
row : | |
column : | |
event : | |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer user_data); |
clist : | the object which received the signal. |
row : | |
column : | |
event : | |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gint arg1, gint arg2, gpointer user_data); |
clist : | the object which received the signal. |
arg1 : | |
arg2 : | |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gint column, gpointer user_data); |
clist : | the object which received the signal. |
column : | |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gint column, gint width, gpointer user_data); |
clist : | the object which received the signal. |
column : | |
width : | |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gpointer user_data); |
clist : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gpointer user_data); |
clist : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gpointer user_data); |
clist : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gpointer user_data); |
clist : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gpointer user_data); |
clist : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gpointer user_data); |
clist : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, gpointer user_data); |
clist : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, GtkScrollType scroll_type, gfloat position, gboolean auto_start_selection, gpointer user_data); |
clist : | the object which received the signal. |
scroll_type : | |
position : | |
auto_start_selection : | |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, GtkScrollType scroll_type, gfloat position, gpointer user_data); |
clist : | the object which received the signal. |
scroll_type : | |
position : | |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkCList *clist, GtkScrollType scroll_type, gfloat position, gpointer user_data); |
clist : | the object which received the signal. |
scroll_type : | |
position : | |
user_data : | user data set when the signal handler was connected. |