forked from AuroraMiddleware/gtk
Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
2008-10-06 Björn Lindqvist <bjourne@gmail.com> Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView * gtk/gtkcellview.c (gtk_cell_view_get_model): Add gtk_cell_view_get_model. svn path=/trunk/; revision=21593
This commit is contained in:
parent
29c097a5f7
commit
36c545b0a1
@ -1,3 +1,10 @@
|
||||
2008-10-06 Björn Lindqvist <bjourne@gmail.com>
|
||||
|
||||
Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
|
||||
|
||||
* gtk/gtkcellview.c (gtk_cell_view_get_model): Add
|
||||
gtk_cell_view_get_model.
|
||||
|
||||
2008-10-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
|
||||
|
@ -4819,6 +4819,7 @@ gtk_cell_view_new_with_text
|
||||
gtk_cell_view_new_with_markup
|
||||
gtk_cell_view_new_with_pixbuf
|
||||
gtk_cell_view_set_model
|
||||
gtk_cell_view_get_model
|
||||
gtk_cell_view_set_displayed_row
|
||||
gtk_cell_view_get_displayed_row
|
||||
gtk_cell_view_get_size_of_row
|
||||
|
@ -90,6 +90,15 @@ and drag and drop.
|
||||
@model:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_get_model ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cell_view:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_set_displayed_row ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -648,6 +648,7 @@ gtk_cell_renderer_toggle_set_radio
|
||||
#if IN_FILE(__GTK_CELL_VIEW_C__)
|
||||
gtk_cell_view_get_cell_renderers
|
||||
gtk_cell_view_get_displayed_row
|
||||
gtk_cell_view_get_model
|
||||
gtk_cell_view_get_size_of_row
|
||||
gtk_cell_view_get_type G_GNUC_CONST
|
||||
gtk_cell_view_new
|
||||
|
@ -886,6 +886,25 @@ gtk_cell_view_set_model (GtkCellView *cell_view,
|
||||
g_object_ref (cell_view->priv->model);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_cell_view_get_model:
|
||||
* @cell_view: a #GtkCellView
|
||||
*
|
||||
* Returns the model for @cell_view. If no model is used %NULL is
|
||||
* returned.
|
||||
*
|
||||
* Returns: a #GtkTreeModel used or %NULL
|
||||
*
|
||||
* Since: 2.16
|
||||
**/
|
||||
GtkTreeModel *
|
||||
gtk_cell_view_get_model (GtkCellView *cell_view)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_CELL_VIEW (cell_view), NULL);
|
||||
|
||||
return cell_view->priv->model;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_cell_view_set_displayed_row:
|
||||
* @cell_view: a #GtkCellView
|
||||
|
@ -62,6 +62,7 @@ GtkWidget *gtk_cell_view_new_with_pixbuf (GdkPixbuf *pixbuf)
|
||||
|
||||
void gtk_cell_view_set_model (GtkCellView *cell_view,
|
||||
GtkTreeModel *model);
|
||||
GtkTreeModel *gtk_cell_view_get_model (GtkCellView *cell_view);
|
||||
void gtk_cell_view_set_displayed_row (GtkCellView *cell_view,
|
||||
GtkTreePath *path);
|
||||
GtkTreePath *gtk_cell_view_get_displayed_row (GtkCellView *cell_view);
|
||||
|
Loading…
Reference in New Issue
Block a user