?? gtkclist.sgml
字號(hào):
@style: @data: @destroy: @fg_set: @bg_set: @selectable: <!-- ##### STRUCT GtkCellText ##### --><para>A structure that the #GtkCList widget uses to keep track of #GtkCList cellsthat contain text.</para>@type: @vertical: @horizontal: @style: @text: <!-- ##### STRUCT GtkCellPixmap ##### --><para>A structure that the #GtkCList widget uses to keep track of #GtkCList cellsthat contain a GdkPixmap.</para>@type: @vertical: @horizontal: @style: @pixmap: @mask: <!-- ##### STRUCT GtkCellPixText ##### --><para>A structure that the #GtkCList widget uses to keep track of #GtkCList cellsthat contain a combination of text and a GdkPixmap.</para>@type: @vertical: @horizontal: @style: @text: @spacing: @pixmap: @mask: <!-- ##### STRUCT GtkCellWidget ##### --><para>A structure that the #GtkCList widget uses to keep track of #GtkCList cellsthat contain another widget.</para>@type: @vertical: @horizontal: @style: @widget: <!-- ##### STRUCT GtkCell ##### --><para>A generic structure that the #GtkCList widget uses to keep track of thecontents of each of its cells.</para>@type: @vertical: @horizontal: @style: @widget: <!-- ##### STRUCT GtkCListCellInfo ##### --><para>A simple structure that the #GtkCList widget uses to keep trackof the location of a cell.</para>@row: @column: <!-- ##### STRUCT GtkCListDestInfo ##### --><para>A simple structure that the #GtkCList widget uses to track a cell for a drag operation.</para>@cell: @insert_pos: <!-- ##### ENUM GtkCListDragPos ##### --><para>An enumeration for drag operations.</para>@GTK_CLIST_DRAG_NONE: @GTK_CLIST_DRAG_BEFORE: @GTK_CLIST_DRAG_INTO: @GTK_CLIST_DRAG_AFTER: <!-- ##### FUNCTION gtk_clist_new ##### --><para>Creates a new #GtkCList widget for use.</para>@columns: The number of columns the #GtkCList should have.@Returns: A pointer to a new GtkCList object.<!-- ##### FUNCTION gtk_clist_new_with_titles ##### --><para>Creates a new #GtkCList widget with column titles for use.</para>@columns: The number of columns the #GtkCList should have.@titles: A string array of titles for the widget. There should beenough strings in the array for the specified number of columns.@Returns: A pointer to a new GtkCList object.<!-- ##### FUNCTION gtk_clist_set_shadow_type ##### --><para>Sets the shadow type for the specified CList. Changing this valuewill cause the #GtkCList to update its visuals.</para>@clist: The #GtkCList to affect.@type: The GtkShadowType desired.<!-- ##### FUNCTION gtk_clist_set_selection_mode ##### --><para>Sets the selection mode for the specified CList. This allows you toset whether only one or more than one item can be selected at a timein the widget. Note that setting the widget's selection mode to oneof GTK_SELECTION_BROWSE or GTK_SELECTION_SINGLE will cause all theitems in the #GtkCList to become deselected.</para>@clist: The #GtkCList to affect.@mode: The GtkSelectionMode type to set for this CList.<!-- ##### FUNCTION gtk_clist_freeze ##### --><para>Causes the #GtkCList to stop updating its visuals until a matching call togtk_clist_thaw() is made. This function is useful if a lot of changeswill be made to the widget that may cause a lot of visual updating tooccur. Note that calls to gtk_clist_freeze() can be nested. </para>@clist: The #GtkCList to freeze.<!-- ##### FUNCTION gtk_clist_thaw ##### --><para>Causes the specified #GtkCList to allow visual updates.</para>@clist: The #GtkCList to thaw.<!-- ##### FUNCTION gtk_clist_column_titles_show ##### --><para>This function causes the #GtkCList to show its column titles, ifthey are not already showing.</para>@clist: The #GtkCList to affect.<!-- ##### FUNCTION gtk_clist_column_titles_hide ##### --><para>Causes the #GtkCList to hide its column titles, if they are currentlyshowing.</para>@clist: The #GtkCList to affect.<!-- ##### FUNCTION gtk_clist_column_title_active ##### --><para>Sets the specified column in the #GtkCList to become selectable. You canthen respond to events from the user clicking on a title button, and takeappropriate action.</para>@clist: The #GtkCList to affect.@column: The column to make active, counting from 0.<!-- ##### FUNCTION gtk_clist_column_title_passive ##### --><para>Causes the specified column title button to become passive, i.e., doesnot respond to events, such as the user clicking on it.</para>@clist: The #GtkCList to affect.@column: The column to make passive, counting from 0.<!-- ##### FUNCTION gtk_clist_column_titles_active ##### --><para>Causes all column title buttons to become active. This is the sameas calling gtk_clist_column_title_active() for each column.</para>@clist: The #GtkCList to affect.<!-- ##### FUNCTION gtk_clist_column_titles_passive ##### --><para>Causes all column title buttons to become passive. This is the sameas calling gtk_clist_column_title_passive() for each column.</para>@clist: The #GtkCList to affect.<!-- ##### FUNCTION gtk_clist_set_column_title ##### --><para>Sets the title for the specified column.</para>@clist: The #GtkCList to affect.@column: The column whose title should be changed.@title: A string to be the column's title.<!-- ##### FUNCTION gtk_clist_set_column_widget ##### --><para>Sets a widget to be used as the specified column's title. Thiscan be used to place a pixmap or something else as the columntitle, instead of the standard text.</para>@clist: The #GtkCList to affect.@column: The column whose title should be a widget.@widget: A pointer to a previously create widget.<!-- ##### FUNCTION gtk_clist_set_column_justification ##### --><para>Sets the justification to be used for all text in the specifiedcolumn.</para>@clist: The #GtkCList to affect.@column: The column which should be affected.@justification: A GtkJustification value for the column.<!-- ##### FUNCTION gtk_clist_set_column_visibility ##### --><para>Allows you to set whether a specified column in the #GtkCList shouldbe hidden or shown. Note that at least one column must always beshowing, so attempting to hide the last visible column will beignored.</para>@clist: The #GtkCList to affect.@column: The column to set visibility.@visible: %TRUE or %FALSE.<!-- ##### FUNCTION gtk_clist_set_column_resizeable ##### --><para>Lets you specify whether a specified column should be resizeableby the user. Note that turning on resizeability for the column willautomatically shut off auto-resizing, but turning off resizeabilitywill NOT turn on auto-resizing. This must be done manually via acall to gtk_clist_set_column_auto_resize().</para>@clist: The #GtkCList to affect.@column: The column on which to set resizeability.@resizeable: %TRUE or %FALSE.<!-- ##### FUNCTION gtk_clist_set_column_auto_resize ##### --><para>Lets you specify whether a column should be automatically resizedby the widget when data is added or removed. Enabling auto-resizeon a column explicity disallows user-resizing of the column.</para>@clist: The #GtkCList to affect.@column: The column on which to set auto-resizing.@auto_resize: %TRUE or %FALSE.<!-- ##### FUNCTION gtk_clist_optimal_column_width ##### --><para>Gets the required width in pixels that is needed to showeverything in the specified column.</para>@clist: The #GtkCList to check.@column: The column to check.@Returns: The required width in pixels for the column.<!-- ##### FUNCTION gtk_clist_set_column_width ##### --><para>Causes the column specified for the #GtkCList to be set toa specified width.</para>@clist: The #GtkCList to affect.@column: The column to set the width.@width: The width, in pixels.<!-- ##### FUNCTION gtk_clist_set_column_min_width ##### --><para>Causes the column specified to have a minimum width, preventingthe user from resizing it smaller than that specified.</para>@clist: The #GtkCList to affect.@column: The column to set the minimum width.@min_width: The width, in pixels.<!-- ##### FUNCTION gtk_clist_set_column_max_width ##### --><para>Causes the column specified to have a maximum width, preventingthe user from resizing it larger than that specified.</para>@clist: The #GtkCList to affect.@column: The column to set the maximum width.@max_width: The width, in pixels.<!-- ##### FUNCTION gtk_clist_set_row_height ##### --><para>Causes the #GtkCList to have a specified height for its rows. Setting the row height to 0 allows the #GtkCList to adjustautomatically to data in the row.</para>@clist: The #GtkCList to affect.@height: The height, in pixels.<!-- ##### FUNCTION gtk_clist_moveto ##### --><para>Tells the CList widget to visually move to the specified row and column.</para>@clist: The #GtkCList to affect.@row: The row to which to move.@column: The column to which to move.@row_align: A value between 0 and 1 that describes the positioning of the row in relation to the viewable area of the CList's contents.@col_align: A value between 0 and 1 that describes the positioning of the column in relation to the viewable area of the CList's contents.<!-- ##### FUNCTION gtk_clist_row_is_visible ##### --><para>Checks how the specified row is visible.</para>@clist: The #GtkCList to affect.@row: The row to query.@Returns: A #GtkVisibility value that tells you how the row is visible.<!-- ##### FUNCTION gtk_clist_get_cell_type ##### --><para>Checks the type of cell at the location specified.</para>@clist: The #GtkCList to affect.@row: The row of the cell.@column: The column of the cell.@Returns: A #GtkCellType value describing the cell.<!-- ##### FUNCTION gtk_clist_set_text ##### --><para>Sets the displayed text in the specified cell.</para>@clist: The #GtkCList to affect.@row: The row of the cell.@column: The column of the cell.@text: The text to set in the cell.<!-- ##### FUNCTION gtk_clist_get_text ##### --><para>Gets the text for the specified cell.</para>@clist: The #GtkCList to affect.@row: The row to query.@column: The column to query.@text: A pointer to a pointer to store the text.@Returns: 1 if the cell's text could be retrieved, 0 otherwise.<!-- ##### FUNCTION gtk_clist_set_pixmap ##### --><para>Sets a pixmap for the specified cell.</para>@clist: The #GtkCList to affect.@row: The row of the cell.@column: The column of the cell.@pixmap: A pointer to a #GdkPixmap to place in the cell.@mask: A pointer to a #GdkBitmap mask for the cell.<!-- ##### FUNCTION gtk_clist_get_pixmap ##### --><para>Gets the pixmap and bitmap mask of the specified cell. The returned mask value can be NULL.</para>@clist: The #GtkCList to affect.@row: The row of the cell.@column: The column of the cell.@pixmap: A pointer to a pointer to store the cell's #GdkPixmap.@mask: A pointer to a pointer to store the cell's #GdkBitmap mask.@Returns: 1 if the cell's pixmap could be retrieved, 0 otherwise.<!-- ##### FUNCTION gtk_clist_set_pixtext ##### --><para>Sets text and a pixmap/bitmap on the specified cell.</para>@clist: The #GtkCList to affect.@row: The row of the cell.@column: The column of the cell.@text: The text to set in the cell.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -