void
gtk_clist_construct (GtkCList *clist,
gint columns,
- gchar *titles[])
+ const gchar *titles[])
{
g_return_if_fail (clist != NULL);
g_return_if_fail (GTK_IS_CLIST (clist));
GtkWidget*
gtk_clist_new_with_titles (gint columns,
- gchar *titles[])
+ const gchar *titles[])
{
GtkWidget *widget;
* gtk_clist_clear
*/
gint
-gtk_clist_prepend (GtkCList *clist,
- gchar *text[])
+gtk_clist_prepend (GtkCList *clist,
+ const gchar *text[])
{
g_return_val_if_fail (clist != NULL, -1);
g_return_val_if_fail (GTK_IS_CLIST (clist), -1);
}
gint
-gtk_clist_append (GtkCList *clist,
- gchar *text[])
+gtk_clist_append (GtkCList *clist,
+ const gchar *text[])
{
g_return_val_if_fail (clist != NULL, -1);
g_return_val_if_fail (GTK_IS_CLIST (clist), -1);
}
gint
-gtk_clist_insert (GtkCList *clist,
- gint row,
- gchar *text[])
+gtk_clist_insert (GtkCList *clist,
+ gint row,
+ const gchar *text[])
{
g_return_val_if_fail (clist != NULL, -1);
g_return_val_if_fail (GTK_IS_CLIST (clist), -1);
/* constructors useful for gtk-- wrappers */
void gtk_clist_construct (GtkCList *clist,
gint columns,
- gchar *titles[]);
+ const gchar *titles[]);
/* create a new GtkCList */
GtkWidget* gtk_clist_new (gint columns);
GtkWidget* gtk_clist_new_with_titles (gint columns,
- gchar *titles[]);
+ const gchar *titles[]);
/* set adjustments of clist */
void gtk_clist_set_hadjustment (GtkCList *clist,
/* prepend/append returns the index of the row you just added,
* making it easier to append and modify a row
*/
-gint gtk_clist_prepend (GtkCList *clist,
- gchar *text[]);
-gint gtk_clist_append (GtkCList *clist,
- gchar *text[]);
+gint gtk_clist_prepend (GtkCList *clist,
+ const gchar *text[]);
+gint gtk_clist_append (GtkCList *clist,
+ const gchar *text[]);
/* inserts a row at index row and returns the row where it was
* actually inserted (may be different from "row" in auto_sort mode)
*/
-gint gtk_clist_insert (GtkCList *clist,
- gint row,
- gchar *text[]);
+gint gtk_clist_insert (GtkCList *clist,
+ gint row,
+ const gchar *text[]);
/* removes row at index row */
void gtk_clist_remove (GtkCList *clist,
***********************************************************/
void
-gtk_ctree_construct (GtkCTree *ctree,
- gint columns,
- gint tree_column,
- gchar *titles[])
+gtk_ctree_construct (GtkCTree *ctree,
+ gint columns,
+ gint tree_column,
+ const gchar *titles[])
{
GtkCList *clist;
}
GtkWidget *
-gtk_ctree_new_with_titles (gint columns,
- gint tree_column,
- gchar *titles[])
+gtk_ctree_new_with_titles (gint columns,
+ gint tree_column,
+ const gchar *titles[])
{
GtkWidget *widget;
void gtk_ctree_construct (GtkCTree *ctree,
gint columns,
gint tree_column,
- gchar *titles[]);
+ const gchar *titles[]);
GtkWidget * gtk_ctree_new_with_titles (gint columns,
gint tree_column,
- gchar *titles[]);
+ const gchar *titles[]);
GtkWidget * gtk_ctree_new (gint columns,
gint tree_column);
GtkCTreeNode * gtk_ctree_insert_node (GtkCTree *ctree,
void
gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
GtkWidget *child,
- gchar *tab_text)
+ const gchar *tab_text)
{
GtkWidget *tab_label = NULL;
void
gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
GtkWidget *child,
- gchar *menu_text)
+ const gchar *menu_text)
{
GtkWidget *menu_label = NULL;
GtkWidget *tab_label);
void gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
GtkWidget *child,
- gchar *tab_text);
+ const gchar *tab_text);
GtkWidget * gtk_notebook_query_menu_label (GtkNotebook *notebook,
GtkWidget *child);
void gtk_notebook_set_menu_label (GtkNotebook *notebook,
GtkWidget *menu_label);
void gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
GtkWidget *child,
- gchar *menu_text);
+ const gchar *menu_text);
void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
GtkWidget *child,
gboolean *expand,
gchar*
gtk_rc_find_pixmap_in_path (GScanner *scanner,
- gchar *pixmap_file)
+ const gchar *pixmap_file)
{
gint i;
gint fd;
gchar*
gtk_rc_find_module_in_path (GScanner *scanner,
- gchar *module_file)
+ const gchar *module_file)
{
gint i;
gint fd;
GdkPixmap *gtk_rc_load_image (GdkColormap *colormap,
GdkColor *transparent_color,
const gchar *filename);
-gchar *gtk_rc_find_pixmap_in_path (GScanner *scanner,
- gchar *pixmap_file);
+gchar *gtk_rc_find_pixmap_in_path (GScanner *scanner,
+ const gchar *pixmap_file);
gchar *gtk_rc_find_module_in_path (GScanner *scanner,
- gchar *module_file);
+ const gchar *module_file);
gchar *gtk_rc_get_theme_dir(void);
gchar *gtk_rc_get_module_dir(void);