* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __GTK_CELL_AREA_H__
+#define __GTK_CELL_AREA_H__
+
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#ifndef __GTK_CELL_AREA_H__
-#define __GTK_CELL_AREA_H__
-
#include <gtk/gtkcellrenderer.h>
#include <gtk/gtkwidget.h>
#include <gtk/gtktreemodel.h>
/**
* GtkCellCallback:
* @renderer: the cell renderer to operate on
- * @data: user-supplied data
+ * @data: (closure): user-supplied data
*
* The type of the callback functions used for iterating over
* the cell renderers of a #GtkCellArea, see gtk_cell_area_foreach().
* provided to gtk_cell_area_foreach_alloc().
* @cell_background: the background area for @renderer inside the
* background area provided to gtk_cell_area_foreach_alloc().
- * @data: user-supplied data
+ * @data: (closure): user-supplied data
*
* The type of the callback functions used for iterating over the
* cell renderers and their allocated areas inside a #GtkCellArea,
const GdkRectangle *cell_area,
GtkCellRendererState flags,
gboolean paint_focus);
-void gtk_cell_area_set_style_detail (GtkCellArea *area,
- const gchar *detail);
-G_CONST_RETURN gchar *gtk_cell_area_get_style_detail (GtkCellArea *area);
-
void gtk_cell_area_get_cell_allocation (GtkCellArea *area,
GtkCellAreaContext *context,
gint height,
gint *minimum_width,
gint *natural_width);
-G_CONST_RETURN gchar *gtk_cell_area_get_current_path_string (GtkCellArea *area);
+const gchar * gtk_cell_area_get_current_path_string (GtkCellArea *area);
/* Attributes */
gboolean gtk_cell_area_is_focus_sibling (GtkCellArea *area,
GtkCellRenderer *renderer,
GtkCellRenderer *sibling);
-G_CONST_RETURN GList *gtk_cell_area_get_focus_siblings (GtkCellArea *area,
+const GList * gtk_cell_area_get_focus_siblings (GtkCellArea *area,
GtkCellRenderer *renderer);
GtkCellRenderer *gtk_cell_area_get_focus_from_sibling (GtkCellArea *area,
GtkCellRenderer *renderer);