GladeEditor

GladeEditor — A Widget to edit a GladeWidget.

Synopsis

#define             GLADE_EDITOR_TABLE                  (obj)
#define             GLADE_IS_EDITOR_TABLE               (obj)
struct              GladeEditorTable;
struct              GladeEditor;
GladeEditor *       glade_editor_new                    (void);
void                glade_editor_load_widget            (GladeEditor *editor,
                                                         GladeWidget *widget);
gboolean            glade_editor_query_dialog           (GladeWidget *widget);
void                glade_editor_show_info              (GladeEditor *editor);
void                glade_editor_hide_info              (GladeEditor *editor);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBox
                           +----GtkVBox
                                 +----GladeEditor

Implemented Interfaces

GladeEditor implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Properties

  "show-info"                gboolean              : Read
  "widget"                   GladeWidget*          : Read / Write

Description

This is the Glade Notebook containing all the controls needed to configure a GladeWidget.

Details

GLADE_EDITOR_TABLE()

#define GLADE_EDITOR_TABLE(obj)		    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_EDITOR_TABLE, GladeEditorTable))

GLADE_IS_EDITOR_TABLE()

#define GLADE_IS_EDITOR_TABLE(obj)	    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_EDITOR_TABLE))

struct GladeEditorTable

struct GladeEditorTable {
  GtkGrid  parent;

  GladeEditorTablePrivate *priv;
};

struct GladeEditor

struct GladeEditor;

glade_editor_new ()

GladeEditor *       glade_editor_new                    (void);

Returns :

a new GladeEditor

glade_editor_load_widget ()

void                glade_editor_load_widget            (GladeEditor *editor,
                                                         GladeWidget *widget);

Load widget into editor. If widget is NULL, clear the editor.

editor :

a GladeEditor

widget :

a GladeWidget

glade_editor_query_dialog ()

gboolean            glade_editor_query_dialog           (GladeWidget *widget);

glade_editor_show_info ()

void                glade_editor_show_info              (GladeEditor *editor);

glade_editor_hide_info ()

void                glade_editor_hide_info              (GladeEditor *editor);

Property Details

The "show-info" property

  "show-info"                gboolean              : Read

Whether to show an informational button for the loaded widget.

Default value: FALSE


The "widget" property

  "widget"                   GladeWidget*          : Read / Write

The currently loaded widget in this editor.