GSQLWorkspace

GSQLWorkspace

Synopsis

                    GSQLWorkspacePrivate;
#define             GSQL_WORKSPACE_TYPE
#define             GSQL_CONF_WORKSPACE_SHOW_NAVIGATE
#define             GSQL_CONF_WORKSPACE_SHOW_MESSAGES
#define             GSQL_CONF_WORKSPACE_WIDESCREEN
                    GSQLWorkspace;
enum                GSQLMessageType;
#define             GSQL_MESSAGE_LEN
GSQLWorkspace*      gsql_workspace_new                  (GSQLSession *session);
GSQLSession*        gsql_workspace_get_session          (GSQLWorkspace *workspace);
void                gsql_workspace_add_content          (GSQLWorkspace *workspace,
                                                         GSQLContent *content);
GList*              gsql_workspace_get_content_list     (GSQLWorkspace *workspace);
GSQLContent*        gsql_workspace_get_current_content  (GSQLWorkspace *workspace);
void                gsql_workspace_next_content         (GSQLWorkspace *workspace);
void                gsql_workspace_prev_content         (GSQLWorkspace *workspace);
void                gsql_workspace_set_content_page     (GSQLWorkspace *workspace,
                                                         GSQLContent *content);
GSQLNavigation*     gsql_workspace_get_navigation       (GSQLWorkspace *workspace);
GtkTreeView*        gsql_workspace_get_details          (GSQLWorkspace *workspace);
void                gsql_workspace_set_details          (GSQLWorkspace *workspace,
                                                         GtkListStore *details_store);
void                gsql_workspace_set_navigate_visible (GSQLWorkspace *workspace,
                                                         gboolean visible);
void                gsql_workspace_set_messages_visible (GSQLWorkspace *workspace,
                                                         gboolean visible);
gboolean            gsql_workspace_get_navigate_visible (GSQLWorkspace *workspace);
gboolean            gsql_workspace_get_messages_visible (GSQLWorkspace *workspace);
void                gsql_message_add                    (GSQLWorkspace *workspace,
                                                         gint type,
                                                         gchar *msg);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GSQLWorkspace

Implemented Interfaces

GSQLWorkspace implements AtkImplementorIface and GtkBuildable.

Signals

  "on-activate"                                    : Run First
  "on-close"                                       : Run First

Description

Details

GSQLWorkspacePrivate

typedef struct _GSQLWorkspacePrivate GSQLWorkspacePrivate;


GSQL_WORKSPACE_TYPE

#define GSQL_WORKSPACE_TYPE 			(gsql_workspace_get_type ())


GSQL_CONF_WORKSPACE_SHOW_NAVIGATE

#define GSQL_CONF_WORKSPACE_SHOW_NAVIGATE			GSQL_CONF_ROOT_KEY "/workspace/show_navarea"


GSQL_CONF_WORKSPACE_SHOW_MESSAGES

#define GSQL_CONF_WORKSPACE_SHOW_MESSAGES			GSQL_CONF_ROOT_KEY "/workspace/show_messarea"


GSQL_CONF_WORKSPACE_WIDESCREEN

#define GSQL_CONF_WORKSPACE_WIDESCREEN				GSQL_CONF_ROOT_KEY "/workspace/widescreen"


GSQLWorkspace

typedef struct _GSQLWorkspace GSQLWorkspace;


enum GSQLMessageType

typedef enum {
	GSQL_MESSAGE_NORMAL,
	GSQL_MESSAGE_NOTICE,
	GSQL_MESSAGE_WARNING,
	GSQL_MESSAGE_ERROR,
	GSQL_MESSAGE_OUTPUT
} GSQLMessageType;


GSQL_MESSAGE_LEN

#define GSQL_MESSAGE_LEN 2048


gsql_workspace_new ()

GSQLWorkspace*      gsql_workspace_new                  (GSQLSession *session);

session :

Returns :


gsql_workspace_get_session ()

GSQLSession*        gsql_workspace_get_session          (GSQLWorkspace *workspace);

workspace :

Returns :


gsql_workspace_add_content ()

void                gsql_workspace_add_content          (GSQLWorkspace *workspace,
                                                         GSQLContent *content);

workspace :

content :


gsql_workspace_get_content_list ()

GList*              gsql_workspace_get_content_list     (GSQLWorkspace *workspace);

workspace :

Returns :


gsql_workspace_get_current_content ()

GSQLContent*        gsql_workspace_get_current_content  (GSQLWorkspace *workspace);

workspace :

Returns :


gsql_workspace_next_content ()

void                gsql_workspace_next_content         (GSQLWorkspace *workspace);

workspace :


gsql_workspace_prev_content ()

void                gsql_workspace_prev_content         (GSQLWorkspace *workspace);

workspace :


gsql_workspace_set_content_page ()

void                gsql_workspace_set_content_page     (GSQLWorkspace *workspace,
                                                         GSQLContent *content);

workspace :

content :


gsql_workspace_get_navigation ()

GSQLNavigation*     gsql_workspace_get_navigation       (GSQLWorkspace *workspace);

workspace :

Returns :


gsql_workspace_get_details ()

GtkTreeView*        gsql_workspace_get_details          (GSQLWorkspace *workspace);

workspace :

Returns :


gsql_workspace_set_details ()

void                gsql_workspace_set_details          (GSQLWorkspace *workspace,
                                                         GtkListStore *details_store);

workspace :

details_store :


gsql_workspace_set_navigate_visible ()

void                gsql_workspace_set_navigate_visible (GSQLWorkspace *workspace,
                                                         gboolean visible);

workspace :

visible :


gsql_workspace_set_messages_visible ()

void                gsql_workspace_set_messages_visible (GSQLWorkspace *workspace,
                                                         gboolean visible);

workspace :

visible :


gsql_workspace_get_navigate_visible ()

gboolean            gsql_workspace_get_navigate_visible (GSQLWorkspace *workspace);

workspace :

Returns :


gsql_workspace_get_messages_visible ()

gboolean            gsql_workspace_get_messages_visible (GSQLWorkspace *workspace);

workspace :

Returns :


gsql_message_add ()

void                gsql_message_add                    (GSQLWorkspace *workspace,
                                                         gint type,
                                                         gchar *msg);

workspace :

type :

msg :

Signal Details

The "on-activate" signal

void                user_function                      (GSQLWorkspace *gsqlworkspace,
                                                        gpointer       user_data)          : Run First

gsqlworkspace :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "on-close" signal

void                user_function                      (GSQLWorkspace *gsqlworkspace,
                                                        gpointer       user_data)          : Run First

gsqlworkspace :

the object which received the signal.

user_data :

user data set when the signal handler was connected.