2001-11-10 20:52:31 +00:00
|
|
|
/* -*- mode: c; style: linux -*- */
|
|
|
|
|
|
|
|
/* gconf-property-editor.h
|
|
|
|
* Copyright (C) 2001 Ximian, Inc.
|
|
|
|
*
|
|
|
|
* Written by Bradford Hovinen <hovinen@ximian.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
* 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GCONF_PROPERTY_EDITOR_H
|
|
|
|
#define __GCONF_PROPERTY_EDITOR_H
|
|
|
|
|
2008-10-24 23:05:28 +00:00
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include <glib/gi18n.h>
|
2001-12-18 16:39:55 +00:00
|
|
|
#include <gconf/gconf-client.h>
|
2001-11-10 20:52:31 +00:00
|
|
|
#include <gconf/gconf-changeset.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GCONF_PROPERTY_EDITOR(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gconf_property_editor_get_type (), GConfPropertyEditor)
|
|
|
|
#define GCONF_PROPERTY_EDITOR_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gconf_property_editor_get_type (), GConfPropertyEditorClass)
|
|
|
|
#define IS_GCONF_PROPERTY_EDITOR(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gconf_property_editor_get_type ())
|
|
|
|
|
|
|
|
typedef struct _GConfPropertyEditor GConfPropertyEditor;
|
|
|
|
typedef struct _GConfPropertyEditorClass GConfPropertyEditorClass;
|
|
|
|
typedef struct _GConfPropertyEditorPrivate GConfPropertyEditorPrivate;
|
|
|
|
|
2002-03-15 03:56:44 +00:00
|
|
|
typedef GConfValue *(*GConfPEditorValueConvFn) (GConfPropertyEditor *peditor, const GConfValue *);
|
|
|
|
typedef int (*GConfPEditorGetValueFn) (GConfPropertyEditor *peditor, gpointer data);
|
2001-12-19 14:53:59 +00:00
|
|
|
|
2001-11-10 20:52:31 +00:00
|
|
|
struct _GConfPropertyEditor
|
|
|
|
{
|
|
|
|
GObject parent;
|
|
|
|
|
|
|
|
GConfPropertyEditorPrivate *p;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _GConfPropertyEditorClass
|
|
|
|
{
|
|
|
|
GObjectClass g_object_class;
|
|
|
|
|
add a property editor for GtkTreeView and fix crashes with all peditors if
2007-05-18 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (peditor_boolean_value_changed),
(peditor_integer_value_changed), (peditor_string_value_changed),
(peditor_color_value_changed), (peditor_select_menu_value_changed),
(peditor_combo_box_value_changed),
(peditor_select_radio_value_changed),
(peditor_numeric_range_value_changed),
(peditor_font_value_changed), (peditor_image_value_changed),
(gconf_peditor_new_select_radio_with_enum),
(peditor_tree_view_value_changed),
(peditor_tree_view_widget_changed), (gconf_peditor_new_tree_view):
* gconf-property-editor.h: add a property editor for GtkTreeView
and fix crashes with all peditors if the requested key is not
available
svn path=/trunk/; revision=7636
2007-05-18 18:55:39 +00:00
|
|
|
void (*value_changed) (GConfPropertyEditor *peditor, gchar *key, const GConfValue *value);
|
2001-11-10 20:52:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
GType gconf_property_editor_get_type (void);
|
|
|
|
|
2003-08-02 15:52:24 +00:00
|
|
|
const gchar *gconf_property_editor_get_key (GConfPropertyEditor *peditor);
|
|
|
|
GObject *gconf_property_editor_get_ui_control (GConfPropertyEditor *peditor);
|
2001-12-19 14:53:59 +00:00
|
|
|
|
|
|
|
GObject *gconf_peditor_new_boolean (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2001-12-20 20:14:59 +00:00
|
|
|
GtkWidget *checkbox,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2001-12-20 20:14:59 +00:00
|
|
|
...);
|
2002-03-15 03:56:44 +00:00
|
|
|
|
|
|
|
GObject *gconf_peditor_new_enum_toggle (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2002-03-15 03:56:44 +00:00
|
|
|
GtkWidget *checkbox,
|
|
|
|
GType enum_type,
|
|
|
|
GConfPEditorGetValueFn val_true_fn,
|
|
|
|
guint val_false,
|
2002-04-22 01:26:59 +00:00
|
|
|
gboolean use_nick,
|
2002-03-15 03:56:44 +00:00
|
|
|
gpointer data,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2002-03-15 03:56:44 +00:00
|
|
|
...);
|
|
|
|
|
2002-04-22 17:49:22 +00:00
|
|
|
GObject *gconf_peditor_new_integer (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2002-04-22 17:49:22 +00:00
|
|
|
GtkWidget *entry,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2002-04-22 17:49:22 +00:00
|
|
|
...);
|
2001-12-19 14:53:59 +00:00
|
|
|
GObject *gconf_peditor_new_string (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2001-12-20 20:14:59 +00:00
|
|
|
GtkWidget *entry,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2001-12-20 20:14:59 +00:00
|
|
|
...);
|
2001-12-19 14:53:59 +00:00
|
|
|
GObject *gconf_peditor_new_color (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2001-12-20 20:14:59 +00:00
|
|
|
GtkWidget *color_entry,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2001-12-20 20:14:59 +00:00
|
|
|
...);
|
2002-03-15 03:56:44 +00:00
|
|
|
|
2007-05-01 16:33:19 +00:00
|
|
|
GObject *gconf_peditor_new_combo_box (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2007-05-01 16:33:19 +00:00
|
|
|
GtkWidget *combo_box,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2007-05-01 16:33:19 +00:00
|
|
|
...);
|
|
|
|
|
|
|
|
GObject *gconf_peditor_new_combo_box_with_enum (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2007-05-01 16:33:19 +00:00
|
|
|
GtkWidget *combo_box,
|
|
|
|
GType enum_type,
|
|
|
|
gboolean use_nick,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2007-05-01 16:33:19 +00:00
|
|
|
...);
|
|
|
|
|
2001-12-19 14:53:59 +00:00
|
|
|
GObject *gconf_peditor_new_select_radio (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2001-12-20 20:14:59 +00:00
|
|
|
GSList *radio_group,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2001-12-20 20:14:59 +00:00
|
|
|
...);
|
2002-03-20 03:30:11 +00:00
|
|
|
|
|
|
|
GObject *gconf_peditor_new_select_radio_with_enum (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2002-03-20 03:30:11 +00:00
|
|
|
GSList *radio_group,
|
|
|
|
GType enum_type,
|
2002-04-22 01:26:59 +00:00
|
|
|
gboolean use_nick,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2002-03-20 03:30:11 +00:00
|
|
|
...);
|
|
|
|
|
2001-12-19 20:19:03 +00:00
|
|
|
GObject *gconf_peditor_new_numeric_range (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2001-12-20 20:14:59 +00:00
|
|
|
GtkWidget *range,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2001-12-20 20:14:59 +00:00
|
|
|
...);
|
2002-04-11 01:41:17 +00:00
|
|
|
|
2002-02-10 07:39:40 +00:00
|
|
|
GObject *gconf_peditor_new_font (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2005-05-22 15:11:44 +00:00
|
|
|
GtkWidget *font_button,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property_name,
|
2002-02-10 07:39:40 +00:00
|
|
|
...);
|
2001-12-19 14:53:59 +00:00
|
|
|
|
2002-03-20 03:30:11 +00:00
|
|
|
GObject *gconf_peditor_new_image (GConfChangeSet *changeset,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *key,
|
2002-03-20 03:30:11 +00:00
|
|
|
GtkWidget *button,
|
constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
|
|
|
const gchar *first_property,
|
2002-03-20 03:30:11 +00:00
|
|
|
...);
|
|
|
|
|
add a property editor for GtkTreeView and fix crashes with all peditors if
2007-05-18 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (peditor_boolean_value_changed),
(peditor_integer_value_changed), (peditor_string_value_changed),
(peditor_color_value_changed), (peditor_select_menu_value_changed),
(peditor_combo_box_value_changed),
(peditor_select_radio_value_changed),
(peditor_numeric_range_value_changed),
(peditor_font_value_changed), (peditor_image_value_changed),
(gconf_peditor_new_select_radio_with_enum),
(peditor_tree_view_value_changed),
(peditor_tree_view_widget_changed), (gconf_peditor_new_tree_view):
* gconf-property-editor.h: add a property editor for GtkTreeView
and fix crashes with all peditors if the requested key is not
available
svn path=/trunk/; revision=7636
2007-05-18 18:55:39 +00:00
|
|
|
GObject *gconf_peditor_new_tree_view (GConfChangeSet *changeset,
|
|
|
|
const gchar *key,
|
|
|
|
GtkWidget *tree_view,
|
|
|
|
const gchar *first_property_name,
|
|
|
|
...);
|
|
|
|
|
2001-12-19 14:53:59 +00:00
|
|
|
void gconf_peditor_widget_set_guard (GConfPropertyEditor *peditor,
|
|
|
|
GtkWidget *widget);
|
2001-11-10 20:52:31 +00:00
|
|
|
|
2002-07-16 22:07:42 +00:00
|
|
|
/* some convenience callbacks to map int <-> float */
|
|
|
|
GConfValue *gconf_value_int_to_float (GConfPropertyEditor *ignored, GConfValue const *value);
|
|
|
|
GConfValue *gconf_value_float_to_int (GConfPropertyEditor *ignored, GConfValue const *value);
|
2001-12-19 20:19:03 +00:00
|
|
|
|
2001-11-10 20:52:31 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GCONF_PROPERTY_EDITOR_H */
|