GNOME_ABOUT
#define GNOME_ABOUT(obj) GTK_CHECK_CAST (obj, gnome_about_get_type (), GnomeAbout)
GNOME_ABOUT_CLASS
#define GNOME_ABOUT_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_about_get_type (), GnomeAboutClass)
GNOME_IS_ABOUT
#define GNOME_IS_ABOUT(obj) GTK_CHECK_TYPE (obj, gnome_about_get_type ())
GnomeAbout
GnomeAboutClass
GnomeAbout
struct GnomeAbout
{
GnomeDialog dialog;
};
gnome_about_get_type
guint
void
gnome_about_new
GtkWidget *
const gchar *title,const gchar *version,const gchar *copyright,const gchar **authors,const gchar *comments,const gchar *logo
gnome_about_construct
void
GnomeAbout *about,const gchar *title,const gchar *version,const gchar *copyright,const gchar **authors,const gchar *comments,const gchar *logo
GNOME_ANIMATOR
#define GNOME_ANIMATOR(obj) \
GTK_CHECK_CAST (obj, gnome_animator_get_type (), GnomeAnimator)
GNOME_ANIMATOR_CLASS
#define GNOME_ANIMATOR_CLASS(klass) \
GTK_CHECK_CLASS_CAST (klass, gnome_animator_get_type (), GnomeAnimatorClass)
GNOME_IS_ANIMATOR
#define GNOME_IS_ANIMATOR(obj) \
GTK_CHECK_TYPE (obj, gnome_animator_get_type ())
GnomeAnimatorStatus
typedef enum
{
GNOME_ANIMATOR_STATUS_STOPPED,
GNOME_ANIMATOR_STATUS_RUNNING
} GnomeAnimatorStatus;
GnomeAnimatorLoopType
typedef enum
{
/* No loop: after the last (first) frame is played, the animation
is stopped. */
GNOME_ANIMATOR_LOOP_NONE,
/* After the last (first) frame is played, restart from the first
(last) frame. */
GNOME_ANIMATOR_LOOP_RESTART,
/* After the last (first) frame is played, the playback direction
is reversed. */
GNOME_ANIMATOR_LOOP_PING_PONG
} GnomeAnimatorLoopType;
GnomeAnimator
GnomeAnimatorClass
GnomeAnimatorFrame
GnomeAnimatorPrivate
GnomeAnimator
struct GnomeAnimator
{
GtkWidget widget;
guint num_frames;
guint current_frame_number;
GnomeAnimatorStatus status;
GnomeAnimatorLoopType loop_type;
gint playback_direction;
gdouble playback_speed;
GnomeAnimatorPrivate *privat;
};
gnome_animator_get_type
guint
void
gnome_animator_new_with_size
GtkWidget *
guint width,guint height
gnome_animator_set_loop_type
void
GnomeAnimator *animator,GnomeAnimatorLoopType loop_type
gnome_animator_get_loop_type
GnomeAnimatorLoopType
GnomeAnimator *animator
gnome_animator_set_playback_direction
void
GnomeAnimator *animator,gint playback_direction
gnome_animator_get_playback_direction
gint
GnomeAnimator *animator
gnome_animator_append_frame_from_imlib_at_size
gboolean
GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval,guint width,guint height
gnome_animator_append_frame_from_imlib
gboolean
GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval
gnome_animator_append_frame_from_file_at_size
gboolean
GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval,guint width,guint height
gnome_animator_append_frame_from_file
gboolean
GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval
gnome_animator_append_frames_from_imlib_at_size
gboolean
GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval,gint x_unit,guint width,guint height
gnome_animator_append_frames_from_imlib
gboolean
GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval,gint x_unit
gnome_animator_append_frames_from_file_at_size
gboolean
GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval,gint x_unit,guint width,guint height
gnome_animator_append_frames_from_file
gboolean
GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval,gint x_unit
gnome_animator_append_frame_from_gnome_pixmap
gboolean
GnomeAnimator *animator,GnomePixmap *pixmap,gint x_offset,gint y_offset,guint32 interval
gnome_animator_start
void
GnomeAnimator *animator
gnome_animator_stop
void
GnomeAnimator *animator
gnome_animator_advance
gboolean
GnomeAnimator *animator,gint num
gnome_animator_goto_frame
void
GnomeAnimator *animator,guint frame_number
gnome_animator_get_current_frame_number
guint
GnomeAnimator *animator
gnome_animator_get_status
GnomeAnimatorStatus
GnomeAnimator *animator
gnome_animator_set_playback_speed
void
GnomeAnimator *animator,gdouble speed
gnome_animator_get_playback_speed
gdouble
GnomeAnimator *animator
GnomeUIInfoType
typedef enum {
GNOME_APP_UI_ENDOFINFO, /* No more items, use it at the end of
an array */
GNOME_APP_UI_ITEM, /* Normal item, or radio item if it is
inside a radioitems group */
GNOME_APP_UI_TOGGLEITEM, /* Toggle (check box) item */
GNOME_APP_UI_RADIOITEMS, /* Radio item group */
GNOME_APP_UI_SUBTREE, /* Item that defines a
subtree/submenu */
GNOME_APP_UI_SEPARATOR, /* Separator line (menus) or blank
space (toolbars) */
GNOME_APP_UI_HELP, /* Create a list of help topics,
used in the Help menu */
GNOME_APP_UI_BUILDER_DATA, /* Specifies the builder data for the
following entries, see code for
further info */
GNOME_APP_UI_ITEM_CONFIGURABLE, /* A configurable menu item. */
/* one should be careful when using
* gnome_app_create_*_[custom|interp|with_data]() functions with
* GnomeUIInfo arrays containing GNOME_APP_UI_BUILDER_DATA items since
* their GnomeUIBuilderData structures completely override the ones
* generated or supplied by the above functions. */
GNOME_APP_UI_SUBTREE_STOCK /* Item that defines a
subtree/submenu, same as GNOME_APP_UI_SUBTREE,
but the texts should be looked up in the
gnome-libs catalog
*/
} GnomeUIInfoType;
GnomeUIInfoConfigurableTypes
typedef enum {
/* 0 */
GNOME_APP_CONFIGURABLE_ITEM_NEW,
GNOME_APP_CONFIGURABLE_ITEM_OPEN,
GNOME_APP_CONFIGURABLE_ITEM_SAVE,
GNOME_APP_CONFIGURABLE_ITEM_SAVE_AS,
GNOME_APP_CONFIGURABLE_ITEM_REVERT,
GNOME_APP_CONFIGURABLE_ITEM_PRINT,
GNOME_APP_CONFIGURABLE_ITEM_PRINT_SETUP,
GNOME_APP_CONFIGURABLE_ITEM_CLOSE,
GNOME_APP_CONFIGURABLE_ITEM_EXIT,
GNOME_APP_CONFIGURABLE_ITEM_CUT,
/* 10 */
GNOME_APP_CONFIGURABLE_ITEM_COPY,
GNOME_APP_CONFIGURABLE_ITEM_PASTE,
GNOME_APP_CONFIGURABLE_ITEM_CLEAR,
GNOME_APP_CONFIGURABLE_ITEM_UNDO,
GNOME_APP_CONFIGURABLE_ITEM_REDO,
GNOME_APP_CONFIGURABLE_ITEM_FIND,
GNOME_APP_CONFIGURABLE_ITEM_FIND_AGAIN,
GNOME_APP_CONFIGURABLE_ITEM_REPLACE,
GNOME_APP_CONFIGURABLE_ITEM_PROPERTIES,
GNOME_APP_CONFIGURABLE_ITEM_PREFERENCES,
/* 20 */
GNOME_APP_CONFIGURABLE_ITEM_ABOUT,
GNOME_APP_CONFIGURABLE_ITEM_SELECT_ALL,
GNOME_APP_CONFIGURABLE_ITEM_NEW_WINDOW,
GNOME_APP_CONFIGURABLE_ITEM_CLOSE_WINDOW,
GNOME_APP_CONFIGURABLE_ITEM_NEW_GAME,
GNOME_APP_CONFIGURABLE_ITEM_PAUSE_GAME,
GNOME_APP_CONFIGURABLE_ITEM_RESTART_GAME,
GNOME_APP_CONFIGURABLE_ITEM_UNDO_MOVE,
GNOME_APP_CONFIGURABLE_ITEM_REDO_MOVE,
GNOME_APP_CONFIGURABLE_ITEM_HINT,
/* 30 */
GNOME_APP_CONFIGURABLE_ITEM_SCORES,
GNOME_APP_CONFIGURABLE_ITEM_END_GAME
} GnomeUIInfoConfigurableTypes;
GnomeUIPixmapType
typedef enum {
GNOME_APP_PIXMAP_NONE, /* No pixmap specified */
GNOME_APP_PIXMAP_STOCK, /* Use a stock pixmap (GnomeStock) */
GNOME_APP_PIXMAP_DATA, /* Use a pixmap from inline xpm data */
GNOME_APP_PIXMAP_FILENAME /* Use a pixmap from the specified
filename */
} GnomeUIPixmapType;
GnomeUIInfo
typedef struct {
GnomeUIInfoType type; /* Type of item */
gchar *label; /* String to use in the label */
gchar *hint; /* For toolbar items, the tooltip. For
menu items, the status bar message */
gpointer moreinfo; /* For an item, toggleitem, or
radioitem, this is a pointer to the
function to call when the item is
activated. For a subtree, a pointer
to another array of GnomeUIInfo
structures. For a radioitem lead
entry, a pointer to an array of
GnomeUIInfo structures for the radio
item group. For a help item,
specifies the help node to load
(i.e. the application's identifier)
or NULL for the main program's name.
For builder data, points to the
GnomeUIBuilderData structure for
the following items */
gpointer user_data; /* Data pointer to pass to callbacks */
gpointer unused_data; /* Reserved for future expansion,
should be NULL */
GnomeUIPixmapType pixmap_type; /* Type of pixmap for the item */
gpointer pixmap_info; /* Pointer to the pixmap information:
*
* For GNOME_APP_PIXMAP_STOCK, a
* pointer to the stock icon name.
*
* For GNOME_APP_PIXMAP_DATA, a
* pointer to the inline xpm data.
*
* For GNOME_APP_PIXMAP_FILENAME, a
* pointer to the filename string.
*/
guint accelerator_key; /* Accelerator key, or 0 for none */
GdkModifierType ac_mods; /* Mask of modifier keys for the
accelerator */
GtkWidget *widget; /* Filled in by gnome_app_create*, you
can use this to tweak the widgets
once they have been created */
} GnomeUIInfo;
GNOMEUIINFO_KEY_UIDATA
#define GNOMEUIINFO_KEY_UIDATA "uidata"
GNOMEUIINFO_KEY_UIBDATA
#define GNOMEUIINFO_KEY_UIBDATA "uibdata"
GNOMEUIINFO_END
#define GNOMEUIINFO_END { GNOME_APP_UI_ENDOFINFO, NULL, NULL, NULL, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_SEPARATOR
#define GNOMEUIINFO_SEPARATOR { GNOME_APP_UI_SEPARATOR, NULL, NULL, NULL, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_ITEM
#define GNOMEUIINFO_ITEM(label, tooltip, callback, xpm_data) \
{ GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL}
GNOMEUIINFO_ITEM_STOCK
#define GNOMEUIINFO_ITEM_STOCK(label, tooltip, callback, stock_id) \
{ GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
GNOME_APP_PIXMAP_STOCK, stock_id, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_ITEM_NONE
#define GNOMEUIINFO_ITEM_NONE(label, tooltip, callback) \
{ GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_ITEM_DATA
#define GNOMEUIINFO_ITEM_DATA(label, tooltip, callback, user_data, xpm_data) \
{ GNOME_APP_UI_ITEM, label, tooltip, callback, user_data, NULL, \
GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_TOGGLEITEM
#define GNOMEUIINFO_TOGGLEITEM(label, tooltip, callback, xpm_data) \
{ GNOME_APP_UI_TOGGLEITEM, label, tooltip, callback, NULL, NULL, \
GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_TOGGLEITEM_DATA
#define GNOMEUIINFO_TOGGLEITEM_DATA(label, tooltip, callback, user_data, xpm_data) \
{ GNOME_APP_UI_TOGGLEITEM, label, tooltip, callback, \
user_data, NULL, GNOME_APP_PIXMAP_DATA, xpm_data, \
0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_HELP
#define GNOMEUIINFO_HELP(app_name) \
{ GNOME_APP_UI_HELP, NULL, NULL, app_name, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_SUBTREE
#define GNOMEUIINFO_SUBTREE(label, tree) \
{ GNOME_APP_UI_SUBTREE, label, NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_SUBTREE_HINT
#define GNOMEUIINFO_SUBTREE_HINT(label, hint, tree) \
{ GNOME_APP_UI_SUBTREE, label, hint, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_SUBTREE_STOCK
#define GNOMEUIINFO_SUBTREE_STOCK(label, tree, stock_id) \
{ GNOME_APP_UI_SUBTREE, label, NULL, tree, NULL, NULL, \
GNOME_APP_PIXMAP_STOCK, stock_id, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_RADIOLIST
#define GNOMEUIINFO_RADIOLIST(list) \
{ GNOME_APP_UI_RADIOITEMS, NULL, NULL, list, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_RADIOITEM
#define GNOMEUIINFO_RADIOITEM(label, tooltip, callback, xpm_data) \
{ GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_RADIOITEM_DATA
#define GNOMEUIINFO_RADIOITEM_DATA(label, tooltip, callback, user_data, xpm_data) \
{ GNOME_APP_UI_ITEM, label, tooltip, callback, \
user_data, NULL, GNOME_APP_PIXMAP_DATA, xpm_data, \
0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_NEW_ITEM
#define GNOMEUIINFO_MENU_NEW_ITEM(label, tip, cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, label, tip, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_NEW, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_NEW_SUBTREE
#define GNOMEUIINFO_MENU_NEW_SUBTREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_New"), NULL, tree, NULL, NULL, \
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_NEW, \
GNOME_KEY_NAME_NEW, GNOME_KEY_MOD_NEW, NULL }
GNOMEUIINFO_MENU_OPEN_ITEM
#define GNOMEUIINFO_MENU_OPEN_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_OPEN, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_SAVE_ITEM
#define GNOMEUIINFO_MENU_SAVE_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_SAVE, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_SAVE_AS_ITEM
#define GNOMEUIINFO_MENU_SAVE_AS_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_SAVE_AS, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_REVERT_ITEM
#define GNOMEUIINFO_MENU_REVERT_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_REVERT, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_PRINT_ITEM
#define GNOMEUIINFO_MENU_PRINT_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_PRINT, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_PRINT_SETUP_ITEM
#define GNOMEUIINFO_MENU_PRINT_SETUP_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_PRINT_SETUP, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_CLOSE_ITEM
#define GNOMEUIINFO_MENU_CLOSE_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_CLOSE, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_EXIT_ITEM
#define GNOMEUIINFO_MENU_EXIT_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_EXIT, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_CUT_ITEM
#define GNOMEUIINFO_MENU_CUT_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_CUT, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_COPY_ITEM
#define GNOMEUIINFO_MENU_COPY_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_COPY, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_PASTE_ITEM
#define GNOMEUIINFO_MENU_PASTE_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_PASTE, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_SELECT_ALL_ITEM
#define GNOMEUIINFO_MENU_SELECT_ALL_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_SELECT_ALL, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_CLEAR_ITEM
#define GNOMEUIINFO_MENU_CLEAR_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_CLEAR, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_UNDO_ITEM
#define GNOMEUIINFO_MENU_UNDO_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_UNDO, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_REDO_ITEM
#define GNOMEUIINFO_MENU_REDO_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_REDO, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_FIND_ITEM
#define GNOMEUIINFO_MENU_FIND_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_FIND, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_FIND_AGAIN_ITEM
#define GNOMEUIINFO_MENU_FIND_AGAIN_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_FIND_AGAIN, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_REPLACE_ITEM
#define GNOMEUIINFO_MENU_REPLACE_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_REPLACE, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_PROPERTIES_ITEM
#define GNOMEUIINFO_MENU_PROPERTIES_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_PROPERTIES, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_PREFERENCES_ITEM
#define GNOMEUIINFO_MENU_PREFERENCES_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_PREFERENCES, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_NEW_WINDOW_ITEM
#define GNOMEUIINFO_MENU_NEW_WINDOW_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_NEW_WINDOW, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM
#define GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_CLOSE_WINDOW, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_ABOUT_ITEM
#define GNOMEUIINFO_MENU_ABOUT_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_ABOUT, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_NEW_GAME_ITEM
#define GNOMEUIINFO_MENU_NEW_GAME_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_NEW_GAME, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_PAUSE_GAME_ITEM
#define GNOMEUIINFO_MENU_PAUSE_GAME_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_PAUSE_GAME, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_RESTART_GAME_ITEM
#define GNOMEUIINFO_MENU_RESTART_GAME_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_RESTART_GAME, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_UNDO_MOVE_ITEM
#define GNOMEUIINFO_MENU_UNDO_MOVE_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_UNDO_MOVE, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_REDO_MOVE_ITEM
#define GNOMEUIINFO_MENU_REDO_MOVE_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_REDO_MOVE, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_HINT_ITEM
#define GNOMEUIINFO_MENU_HINT_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_HINT, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_SCORES_ITEM
#define GNOMEUIINFO_MENU_SCORES_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_SCORES, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_END_GAME_ITEM
#define GNOMEUIINFO_MENU_END_GAME_ITEM(cb, data) \
{ GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL, \
cb, (gpointer)(data), NULL, \
GNOME_APP_PIXMAP_NONE, NULL, \
GNOME_APP_CONFIGURABLE_ITEM_END_GAME, (GdkModifierType) 0, NULL }
gnome_app_helper_gettext
char *
char *string
D_
#define D_(x) dgettext (PACKAGE, x)
L_
#define L_(x) gnome_app_helper_gettext(x)
D_
#define D_(x) x
L_
#define L_(x) x
GNOMEUIINFO_MENU_FILE_TREE
#define GNOMEUIINFO_MENU_FILE_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_File"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_EDIT_TREE
#define GNOMEUIINFO_MENU_EDIT_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_Edit"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_VIEW_TREE
#define GNOMEUIINFO_MENU_VIEW_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_View"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_SETTINGS_TREE
#define GNOMEUIINFO_MENU_SETTINGS_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_Settings"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_FILES_TREE
#define GNOMEUIINFO_MENU_FILES_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("Fi_les"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_WINDOWS_TREE
#define GNOMEUIINFO_MENU_WINDOWS_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_Windows"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_HELP_TREE
#define GNOMEUIINFO_MENU_HELP_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_Help"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOMEUIINFO_MENU_GAME_TREE
#define GNOMEUIINFO_MENU_GAME_TREE(tree) \
{ GNOME_APP_UI_SUBTREE_STOCK, N_("_Game"), NULL, tree, NULL, NULL, \
(GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
GNOME_MENU_FILE_STRING
#define GNOME_MENU_FILE_STRING D_("_File")
GNOME_MENU_FILE_PATH
#define GNOME_MENU_FILE_PATH D_("_File/")
GNOME_MENU_EDIT_STRING
#define GNOME_MENU_EDIT_STRING D_("_Edit")
GNOME_MENU_EDIT_PATH
#define GNOME_MENU_EDIT_PATH D_("_Edit/")
GNOME_MENU_VIEW_STRING
#define GNOME_MENU_VIEW_STRING D_("_View")
GNOME_MENU_VIEW_PATH
#define GNOME_MENU_VIEW_PATH D_("_View/")
GNOME_MENU_SETTINGS_STRING
#define GNOME_MENU_SETTINGS_STRING D_("_Settings")
GNOME_MENU_SETTINGS_PATH
#define GNOME_MENU_SETTINGS_PATH D_("_Settings/")
GNOME_MENU_NEW_STRING
#define GNOME_MENU_NEW_STRING D_("_New")
GNOME_MENU_NEW_PATH
#define GNOME_MENU_NEW_PATH D_("_New/")
GNOME_MENU_FILES_STRING
#define GNOME_MENU_FILES_STRING D_("Fi_les")
GNOME_MENU_FILES_PATH
#define GNOME_MENU_FILES_PATH D_("Fi_les/")
GNOME_MENU_WINDOWS_STRING
#define GNOME_MENU_WINDOWS_STRING D_("_Windows")
GNOME_MENU_WINDOWS_PATH
#define GNOME_MENU_WINDOWS_PATH D_("_Windows/")
GnomeUIBuilderData
GnomeUISignalConnectFunc
void
GnomeUIInfo *uiinfo,
gchar *signal_name,
GnomeUIBuilderData *uibdata
GnomeUIBuilderData
struct GnomeUIBuilderData {
GnomeUISignalConnectFunc connect_func; /* Function that connects to the item's signals */
gpointer data; /* User data pointer */
gboolean is_interp; /* Should use gtk_signal_connect_interp or normal gtk_signal_connect? */
GtkCallbackMarshal relay_func; /* Marshaller function for language bindings */
GtkDestroyNotify destroy_func; /* Destroy notification function for language bindings */
};
gnome_accelerators_sync
void
void
gnome_app_fill_menu
void
GtkMenuShell *menu_shell,GnomeUIInfo *uiinfo,GtkAccelGroup *accel_group,gboolean uline_accels,gint pos
gnome_app_fill_menu_with_data
void
GtkMenuShell *menu_shell,GnomeUIInfo *uiinfo,GtkAccelGroup *accel_group,gboolean uline_accels,gint pos,gpointer user_data
gnome_app_fill_menu_custom
void
GtkMenuShell *menu_shell,GnomeUIInfo *uiinfo,GnomeUIBuilderData *uibdata,GtkAccelGroup *accel_group,gboolean uline_accels,gint pos
gnome_app_ui_configure_configurable
void
GnomeUIInfo* uiinfo
gnome_app_create_menus
void
GnomeApp *app, GnomeUIInfo *uiinfo
gnome_app_create_menus_interp
void
GnomeApp *app, GnomeUIInfo *uiinfo,GtkCallbackMarshal relay_func, gpointer data,GtkDestroyNotify destroy_func
gnome_app_create_menus_with_data
void
GnomeApp *app, GnomeUIInfo *uiinfo, gpointer user_data
gnome_app_create_menus_custom
void
GnomeApp *app, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata
gnome_app_fill_toolbar
void
GtkToolbar *toolbar, GnomeUIInfo *uiinfo, GtkAccelGroup *accel_group
gnome_app_fill_toolbar_with_data
void
GtkToolbar *toolbar, GnomeUIInfo *uiinfo,GtkAccelGroup *accel_group, gpointer user_data
gnome_app_fill_toolbar_custom
void
GtkToolbar *toolbar, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata,GtkAccelGroup *accel_group
gnome_app_create_toolbar
void
GnomeApp *app, GnomeUIInfo *uiinfo
gnome_app_create_toolbar_interp
void
GnomeApp *app, GnomeUIInfo *uiinfo,GtkCallbackMarshal relay_func, gpointer data,GtkDestroyNotify destroy_func
gnome_app_create_toolbar_with_data
void
GnomeApp *app, GnomeUIInfo *uiinfo, gpointer user_data
gnome_app_create_toolbar_custom
void
GnomeApp *app, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata
gnome_app_find_menu_pos
GtkWidget *
GtkWidget *parent, gchar *path, gint *pos
gnome_app_remove_menus
void
GnomeApp *app, gchar *path, gint items
gnome_app_remove_menu_range
void
GnomeApp *app, gchar *path, gint start, gint items
gnome_app_insert_menus_custom
void
GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo, GnomeUIBuilderData *uibdata
gnome_app_insert_menus
void
GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo
gnome_app_insert_menus_with_data
void
GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo, gpointer data
gnome_app_insert_menus_interp
void
GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo,GtkCallbackMarshal relay_func, gpointer data,GtkDestroyNotify destroy_func
gnome_app_install_appbar_menu_hints
void
GnomeAppBar* appbar,GnomeUIInfo* uiinfo
gnome_app_install_statusbar_menu_hints
void
GtkStatusbar* bar,GnomeUIInfo* uiinfo
gnome_app_install_menu_hints
void
GnomeApp *app,GnomeUIInfo *uinfo
gnome_app_message
GtkWidget *
GnomeApp * app, const gchar * message
gnome_app_flash
void
GnomeApp * app, const gchar * flash
gnome_app_error
GtkWidget *
GnomeApp * app, const gchar * error
gnome_app_warning
GtkWidget *
GnomeApp * app, const gchar * warning
gnome_app_question
GtkWidget *
GnomeApp * app, const gchar * question,GnomeReplyCallback callback, gpointer data
gnome_app_question_modal
GtkWidget *
GnomeApp * app, const gchar * question,GnomeReplyCallback callback, gpointer data
gnome_app_ok_cancel
GtkWidget *
GnomeApp * app, const gchar * message,GnomeReplyCallback callback, gpointer data
gnome_app_ok_cancel_modal
GtkWidget *
GnomeApp * app, const gchar * message,GnomeReplyCallback callback, gpointer data
gnome_app_request_string
GtkWidget *
GnomeApp * app, const gchar * prompt,GnomeStringCallback callback, gpointer data
gnome_app_request_password
GtkWidget *
GnomeApp * app, const gchar * prompt,GnomeStringCallback callback, gpointer data
GnomeAppProgressFunc
gdouble
gpointer data
GnomeAppProgressCancelFunc
void
gpointer data
GnomeAppProgressKey
typedef gpointer GnomeAppProgressKey;
gnome_app_progress_timeout
GnomeAppProgressKey
GnomeApp * app,const gchar * description,guint32 interval,GnomeAppProgressFunc percentage_cb,GnomeAppProgressCancelFunc cancel_cb,gpointer data
gnome_app_progress_manual
GnomeAppProgressKey
GnomeApp * app,const gchar * description,GnomeAppProgressCancelFunc cancel_cb,gpointer data
gnome_app_set_progress
void
GnomeAppProgressKey key, gdouble percent
gnome_app_progress_done
void
GnomeAppProgressKey key
GNOME_APP_MENUBAR_NAME
#define GNOME_APP_MENUBAR_NAME "Menubar"
GNOME_APP_TOOLBAR_NAME
#define GNOME_APP_TOOLBAR_NAME "Toolbar"
GNOME_APP
#define GNOME_APP(obj) GTK_CHECK_CAST(obj, gnome_app_get_type(), GnomeApp)
GNOME_APP_CLASS
#define GNOME_APP_CLASS(class) GTK_CHECK_CAST_CLASS(class, gnome_app_get_type(), GnomeAppClass)
GNOME_IS_APP
#define GNOME_IS_APP(obj) GTK_CHECK_TYPE(obj, gnome_app_get_type())
GnomeApp
GnomeAppClass
GnomeApp
struct GnomeApp {
GtkWindow parent_object;
/* Application name. */
char *name;
/* Prefix for gnome-config (used to save the layout). */
char *prefix;
/* The dock. */
GtkWidget *dock;
/* The status bar. */
GtkWidget *statusbar;
/* The vbox widget that ties them. */
GtkWidget *vbox;
/* The menubar. This is a pointer to a widget contained into
the dock. */
GtkWidget *menubar;
/* The contents. This is a pointer to dock->client_area. */
GtkWidget *contents;
/* Dock layout. */
GnomeDockLayout *layout;
/* Main accelerator group for this window (hotkeys live here). */
GtkAccelGroup *accel_group;
/* If TRUE, the application uses gnome-config to retrieve and
save the docking configuration automagically. */
gboolean enable_layout_config : 1;
};
gnome_app_get_type
GtkType
void
gnome_app_new
GtkWidget *
gchar *appname, char *title
gnome_app_construct
void
GnomeApp *app, gchar *appname, char *title
gnome_app_set_menus
void
GnomeApp *app, GtkMenuBar *menubar
gnome_app_set_toolbar
void
GnomeApp *app, GtkToolbar *toolbar
gnome_app_set_statusbar
void
GnomeApp *app, GtkWidget *statusbar
gnome_app_set_statusbar_custom
void
GnomeApp *app,GtkWidget *container,GtkWidget *statusbar
gnome_app_set_contents
void
GnomeApp *app, GtkWidget *contents
gnome_app_add_toolbar
void
GnomeApp *app,GtkToolbar *toolbar,const gchar *name,GnomeDockItemBehavior behavior,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
gnome_app_add_docked
void
GnomeApp *app,GtkWidget *widget,const gchar *name,GnomeDockItemBehavior behavior,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
gnome_app_add_dock_item
void
GnomeApp *app,GnomeDockItem *item,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
gnome_app_enable_layout_config
void
GnomeApp *app, gboolean enable
gnome_app_get_dock
GnomeDock *
GnomeApp *app
gnome_app_get_dock_item_by_name
GnomeDockItem *
GnomeApp *app,const gchar *name
GNOME_APPBAR
#define GNOME_APPBAR(obj) GTK_CHECK_CAST (obj, gnome_appbar_get_type (), GnomeAppBar)
GNOME_APPBAR_CLASS
#define GNOME_APPBAR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_appbar_get_type (), GnomeAppBarClass)
GNOME_IS_APPBAR
#define GNOME_IS_APPBAR(obj) GTK_CHECK_TYPE (obj, gnome_appbar_get_type ())
GNOME_APPBAR_HAS_STATUS
#define GNOME_APPBAR_HAS_STATUS(appbar) (GNOME_APPBAR(appbar)->status != NULL)
GNOME_APPBAR_HAS_PROGRESS
#define GNOME_APPBAR_HAS_PROGRESS(appbar) (GNOME_APPBAR(appbar)->progress != NULL)
GnomeAppBar
GnomeAppBarClass
GnomeAppBarMsg
GnomeAppBar
struct GnomeAppBar
{
GtkHBox parent_widget;
/* Private; there's no guarantee on the type of these in the
future. Statusbar could be a label, entry, GtkStatusbar, or
something else; progress could be a label or progress bar; it's
all up in the air for now. */
GtkWidget * progress;
GtkWidget * status;
guint interactive : 1; /* This means status is an entry rather than a
label, for the moment. */
gint editable_start; /* The first editable position in the interactive
buffer. */
gchar * prompt; /* The text of a prompt, if any. */
/* Keep it simple; no contexts.
if (status_stack) display_top_of_stack;
else if (default_status) display_default;
else display_nothing; */
/* Also private by the way */
GSList * status_stack;
gchar * default_status;
};
GNOME_APPBAR_INTERACTIVE
#define GNOME_APPBAR_INTERACTIVE(ab) ((ab) ? (ab)->interactive : FALSE)
gnome_appbar_get_type
guint
void
gnome_appbar_new
GtkWidget *
gboolean has_progress,gboolean has_status,GnomePreferencesType interactivity
gnome_appbar_set_status
void
GnomeAppBar * appbar,const gchar * status
gnome_appbar_set_default
void
GnomeAppBar * appbar,const gchar * default_status
gnome_appbar_push
void
GnomeAppBar * appbar,const gchar * status
gnome_appbar_pop
void
GnomeAppBar * appbar
gnome_appbar_clear_stack
void
GnomeAppBar * appbar
gnome_appbar_set_progress
void
GnomeAppBar *appbar,gfloat percentage
gnome_appbar_get_progress
GtkProgress *
GnomeAppBar * appbar
gnome_appbar_refresh
void
GnomeAppBar * appbar
gnome_appbar_set_prompt
void
GnomeAppBar * appbar,const gchar * prompt,gboolean modal
gnome_appbar_clear_prompt
void
GnomeAppBar * appbar
gnome_appbar_get_response
gchar *
GnomeAppBar * appbar
gnome_appbar_construct
void
GnomeAppBar * ab,gboolean has_progress,gboolean has_status,GnomePreferencesType interactivity
GNOME_CALCULATOR
#define GNOME_CALCULATOR(obj) GTK_CHECK_CAST (obj, gnome_calculator_get_type (), GnomeCalculator)
GNOME_CALCULATOR_CLASS
#define GNOME_CALCULATOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_calculator_get_type (), GnomeCalculatorClass)
GNOME_IS_CALCULATOR
#define GNOME_IS_CALCULATOR(obj) GTK_CHECK_TYPE (obj, gnome_calculator_get_type ())
GnomeCalculator
GnomeCalculatorClass
GnomeCalculatorMode
typedef enum {
GNOME_CALCULATOR_DEG,
GNOME_CALCULATOR_RAD,
GNOME_CALCULATOR_GRAD
} GnomeCalculatorMode;
GnomeCalculator
struct GnomeCalculator {
GtkVBox vbox;
gdouble result;
gchar result_string[13];
gdouble memory;
GtkWidget *display;
GnomeCalculatorMode mode;
guint add_digit : 1; /*add a digit instead of starting a new
number*/
guint error : 1;
guint invert : 1;
GtkWidget *invert_button;
GList *stack;
GtkAccelGroup *accel;
};
gnome_calculator_get_type
guint
void
gnome_calculator_new
GtkWidget *
void
gnome_calculator_clear
void
GnomeCalculator *gc,const gboolean reset
gnome_calculator_set
void
GnomeCalculator *gc,gdouble result
gnome_calculator_get_result
#define gnome_calculator_get_result(gc) (GNOME_CALCULATOR(gc)->result)
GNOME_TYPE_CANVAS_IMAGE
#define GNOME_TYPE_CANVAS_IMAGE (gnome_canvas_image_get_type ())
GNOME_CANVAS_IMAGE
#define GNOME_CANVAS_IMAGE(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_IMAGE, GnomeCanvasImage))
GNOME_CANVAS_IMAGE_CLASS
#define GNOME_CANVAS_IMAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_IMAGE, GnomeCanvasImageClass))
GNOME_IS_CANVAS_IMAGE
#define GNOME_IS_CANVAS_IMAGE(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_IMAGE))
GNOME_IS_CANVAS_IMAGE_CLASS
#define GNOME_IS_CANVAS_IMAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_IMAGE))
GnomeCanvasImage
GnomeCanvasImageClass
GnomeCanvasImage
struct GnomeCanvasImage {
GnomeCanvasItem item;
GdkImlibImage *im; /* The image to paint */
GdkPixmap *pixmap; /* Pixmap rendered from the image */
GdkBitmap *mask; /* Mask rendered from the image */
double x, y; /* Position at anchor, item relative */
double width, height; /* Size of image, item relative */
GtkAnchorType anchor; /* Anchor side for image */
int cx, cy; /* Top-left canvas coordinates for display */
int cwidth, cheight; /* Rendered size in pixels */
GdkGC *gc; /* GC for drawing image */
unsigned int need_recalc : 1; /* Do we need to rescale the image? */
ArtPixBuf *pixbuf; /* A pixbuf, for aa rendering */
double affine[6]; /* The item -> canvas affine */
};
gnome_canvas_image_get_type
GtkType
void
GNOME_TYPE_CANVAS_LINE
#define GNOME_TYPE_CANVAS_LINE (gnome_canvas_line_get_type ())
GNOME_CANVAS_LINE
#define GNOME_CANVAS_LINE(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_LINE, GnomeCanvasLine))
GNOME_CANVAS_LINE_CLASS
#define GNOME_CANVAS_LINE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_LINE, GnomeCanvasLineClass))
GNOME_IS_CANVAS_LINE
#define GNOME_IS_CANVAS_LINE(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_LINE))
GNOME_IS_CANVAS_LINE_CLASS
#define GNOME_IS_CANVAS_LINE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_LINE))
GnomeCanvasLine
GnomeCanvasLineClass
GnomeCanvasLine
struct GnomeCanvasLine {
GnomeCanvasItem item;
int num_points; /* Number of points in the line */
double *coords; /* Array of coordinates for the line's points. X coords are in the
* even indices, Y coords are in the odd indices. If the line has
* arrowheads then the first and last points have been adjusted to
* refer to the necks of the arrowheads rather than their tips. The
* actual endpoints are stored in the first_arrow and last_arrow
* arrays, if they exist.
*/
double width; /* Width of the line */
guint fill_color; /* Fill color, RGBA */
gulong fill_pixel; /* Color for line */
GdkBitmap *stipple; /* Stipple pattern */
GdkCapStyle cap; /* Cap style for line */
GdkJoinStyle join; /* Join style for line */
GdkLineStyle line_style;/* Style for the line */
double shape_a; /* Distance from tip of arrowhead to center */
double shape_b; /* Distance from tip of arrowhead to trailing point, measured along shaft */
double shape_c; /* Distance of trailing points from outside edge of shaft */
double *first_coords; /* Array of points describing polygon for the first arrowhead */
double *last_coords; /* Array of points describing polygon for the last arrowhead */
int spline_steps; /* Number of steps in each spline segment */
GdkGC *gc; /* GC for drawing line */
guint width_pixels : 1; /* Is the width specified in pixels or units? */
guint first_arrow : 1; /* Draw first arrowhead? */
guint last_arrow : 1; /* Draw last arrowhead? */
guint smooth : 1; /* Smooth line (with parabolic splines)? */
/* Antialiased specific stuff follows */
guint32 fill_rgba; /* RGBA color for outline */
ArtSVP *fill_svp; /* The SVP for the outline shape */
ArtSVP *first_svp; /* The SVP for the first arrow */
ArtSVP *last_svp; /* The SVP for the last arrow */
};
gnome_canvas_line_get_type
GtkType
void
gnome_canvas_load_alpha
GdkImlibImage *
char *file
gnome_canvas_destroy_image
void
GdkImlibImage *image
GNOME_TYPE_CANVAS_POLYGON
#define GNOME_TYPE_CANVAS_POLYGON (gnome_canvas_polygon_get_type ())
GNOME_CANVAS_POLYGON
#define GNOME_CANVAS_POLYGON(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_POLYGON, GnomeCanvasPolygon))
GNOME_CANVAS_POLYGON_CLASS
#define GNOME_CANVAS_POLYGON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_POLYGON, GnomeCanvasPolygonClass))
GNOME_IS_CANVAS_POLYGON
#define GNOME_IS_CANVAS_POLYGON(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_POLYGON))
GNOME_IS_CANVAS_POLYGON_CLASS
#define GNOME_IS_CANVAS_POLYGON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_POLYGON))
GnomeCanvasPolygon
GnomeCanvasPolygonClass
GnomeCanvasPolygon
struct GnomeCanvasPolygon {
GnomeCanvasItem item;
int num_points; /* Number of points in the polygon */
double *coords; /* Array of coordinates for the polygon's points. X coords
* are in the even indices, Y coords are in the odd indices.
*/
double width; /* Width of polygon's outline */
guint fill_color; /* Fill color, RGBA */
guint outline_color; /* Outline color, RGBA */
gulong fill_pixel; /* Color for fill */
gulong outline_pixel; /* Color for outline */
GdkBitmap *fill_stipple; /* Stipple for fill */
GdkBitmap *outline_stipple; /* Stipple for outline */
GdkGC *fill_gc; /* GC for filling */
GdkGC *outline_gc; /* GC for outline */
guint fill_set : 1; /* Is fill color set? */
guint outline_set : 1; /* Is outline color set? */
guint width_pixels : 1; /* Is outline width specified in pixels or units? */
/* Antialiased specific stuff follows */
guint32 fill_rgba; /* RGBA color for filling */
ArtSVP *fill_svp; /* The SVP for the filled shape */
guint32 outline_rgba; /* RGBA color for outline */
ArtSVP *outline_svp; /* The SVP for the outline shape */
};
gnome_canvas_polygon_get_type
GtkType
void
GNOME_TYPE_CANVAS_RE
#define GNOME_TYPE_CANVAS_RE (gnome_canvas_re_get_type ())
GNOME_CANVAS_RE
#define GNOME_CANVAS_RE(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_RE, GnomeCanvasRE))
GNOME_CANVAS_RE_CLASS
#define GNOME_CANVAS_RE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_RE, GnomeCanvasREClass))
GNOME_IS_CANVAS_RE
#define GNOME_IS_CANVAS_RE(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_RE))
GNOME_IS_CANVAS_RE_CLASS
#define GNOME_IS_CANVAS_RE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_RE))
GnomeCanvasRE
GnomeCanvasREClass
GnomeCanvasRE
struct GnomeCanvasRE {
GnomeCanvasItem item;
double x1, y1, x2, y2; /* Corners of item */
double width; /* Outline width */
guint fill_color; /* Fill color, RGBA */
guint outline_color; /* Outline color, RGBA */
gulong fill_pixel; /* Fill color */
gulong outline_pixel; /* Outline color */
GdkBitmap *fill_stipple; /* Stipple for fill */
GdkBitmap *outline_stipple; /* Stipple for outline */
GdkGC *fill_gc; /* GC for filling */
GdkGC *outline_gc; /* GC for outline */
/* Antialiased specific stuff follows */
ArtSVP *fill_svp; /* The SVP for the filled shape */
ArtSVP *outline_svp; /* The SVP for the outline shape */
/* Configuration flags */
unsigned int fill_set : 1; /* Is fill color set? */
unsigned int outline_set : 1; /* Is outline color set? */
unsigned int width_pixels : 1; /* Is outline width specified in pixels or units? */
};
gnome_canvas_re_get_type
GtkType
void
GNOME_TYPE_CANVAS_RECT
#define GNOME_TYPE_CANVAS_RECT (gnome_canvas_rect_get_type ())
GNOME_CANVAS_RECT
#define GNOME_CANVAS_RECT(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_RECT, GnomeCanvasRect))
GNOME_CANVAS_RECT_CLASS
#define GNOME_CANVAS_RECT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_RECT, GnomeCanvasRectClass))
GNOME_IS_CANVAS_RECT
#define GNOME_IS_CANVAS_RECT(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_RECT))
GNOME_IS_CANVAS_RECT_CLASS
#define GNOME_IS_CANVAS_RECT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_RECT))
GnomeCanvasRect
GnomeCanvasRectClass
GnomeCanvasRect
struct GnomeCanvasRect {
GnomeCanvasRE re;
};
gnome_canvas_rect_get_type
GtkType
void
GNOME_TYPE_CANVAS_ELLIPSE
#define GNOME_TYPE_CANVAS_ELLIPSE (gnome_canvas_ellipse_get_type ())
GNOME_CANVAS_ELLIPSE
#define GNOME_CANVAS_ELLIPSE(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_ELLIPSE, GnomeCanvasEllipse))
GNOME_CANVAS_ELLIPSE_CLASS
#define GNOME_CANVAS_ELLIPSE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_ELLIPSE, GnomeCanvasEllipseClass))
GNOME_IS_CANVAS_ELLIPSE
#define GNOME_IS_CANVAS_ELLIPSE(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_ELLIPSE))
GNOME_IS_CANVAS_ELLIPSE_CLASS
#define GNOME_IS_CANVAS_ELLIPSE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_ELLIPSE))
GnomeCanvasEllipse
GnomeCanvasEllipseClass
GnomeCanvasEllipse
struct GnomeCanvasEllipse {
GnomeCanvasRE re;
};
gnome_canvas_ellipse_get_type
GtkType
void
GNOME_TYPE_CANVAS_TEXT
#define GNOME_TYPE_CANVAS_TEXT (gnome_canvas_text_get_type ())
GNOME_CANVAS_TEXT
#define GNOME_CANVAS_TEXT(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_TEXT, GnomeCanvasText))
GNOME_CANVAS_TEXT_CLASS
#define GNOME_CANVAS_TEXT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_TEXT, GnomeCanvasTextClass))
GNOME_IS_CANVAS_TEXT
#define GNOME_IS_CANVAS_TEXT(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_TEXT))
GNOME_IS_CANVAS_TEXT_CLASS
#define GNOME_IS_CANVAS_TEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_TEXT))
GnomeCanvasText
GnomeCanvasTextClass
GnomeCanvasTextSuckFont
GnomeCanvasTextSuckChar
GnomeCanvasTextSuckChar
struct GnomeCanvasTextSuckChar {
int left_sb;
int right_sb;
int width;
int ascent;
int descent;
int bitmap_offset; /* in pixels */
};
GnomeCanvasTextSuckFont
struct GnomeCanvasTextSuckFont {
guchar *bitmap;
gint bitmap_width;
gint bitmap_height;
gint ascent;
GnomeCanvasTextSuckChar chars[256];
};
GnomeCanvasText
struct GnomeCanvasText {
GnomeCanvasItem item;
char *text; /* Text to display */
gpointer lines; /* Text split into lines (private field) */
int num_lines; /* Number of lines of text */
double x, y; /* Position at anchor */
GdkFont *font; /* Font for text */
GtkAnchorType anchor; /* Anchor side for text */
GtkJustification justification; /* Justification for text */
double clip_width; /* Width of optional clip rectangle */
double clip_height; /* Height of optional clip rectangle */
double xofs, yofs; /* Text offset distance from anchor position */
gulong pixel; /* Fill color */
GdkBitmap *stipple; /* Stipple for text */
GdkGC *gc; /* GC for drawing text */
int cx, cy; /* Top-left canvas coordinates for text */
int clip_cx, clip_cy; /* Top-left canvas coordinates for clip rectangle */
int clip_cwidth, clip_cheight; /* Size of clip rectangle in pixels */
int max_width; /* Maximum width of text lines */
int height; /* Rendered text height in pixels */
guint clip : 1; /* Use clip rectangle? */
/* Antialiased specific stuff follows */
GnomeCanvasTextSuckFont *suckfont; /* Sucked font */
guint32 rgba; /* RGBA color for text */
double affine[6]; /* The item -> canvas affine */
};
gnome_canvas_text_get_type
GtkType
void
GnomeCanvasPoints
typedef struct {
int num_points;
double *coords;
int ref_count;
} GnomeCanvasPoints;
gnome_canvas_points_new
GnomeCanvasPoints *
int num_points
gnome_canvas_points_ref
GnomeCanvasPoints *
GnomeCanvasPoints *points
gnome_canvas_points_unref
#define gnome_canvas_points_unref gnome_canvas_points_free
gnome_canvas_points_free
void
GnomeCanvasPoints *points
gnome_canvas_get_miter_points
int
double x1, double y1, double x2, double y2, double x3, double y3,double width,double *mx1, double *my1, double *mx2, double *my2
gnome_canvas_get_butt_points
void
double x1, double y1, double x2, double y2,double width, int project,double *bx1, double *by1, double *bx2, double *by2
gnome_canvas_polygon_to_point
double
double *poly, int num_points, double x, double y
gnome_canvas_render_svp
void
GnomeCanvasBuf *buf, ArtSVP *svp, guint32 rgba
gnome_canvas_update_svp
void
GnomeCanvas *canvas, ArtSVP **p_svp, ArtSVP *new_svp
gnome_canvas_update_svp_clip
void
GnomeCanvas *canvas, ArtSVP **p_svp, ArtSVP *new_svp,ArtSVP *clip_svp
gnome_canvas_item_reset_bounds
void
GnomeCanvasItem *item
gnome_canvas_item_update_svp
void
GnomeCanvasItem *item, ArtSVP **p_svp, ArtSVP *new_svp
gnome_canvas_item_update_svp_clip
void
GnomeCanvasItem *item, ArtSVP **p_svp, ArtSVP *new_svp,ArtSVP *clip_svp
gnome_canvas_item_request_redraw_svp
void
GnomeCanvasItem *item, const ArtSVP *svp
gnome_canvas_update_bbox
void
GnomeCanvasItem *item, int x1, int y1, int x2, int y2
gnome_canvas_buf_ensure_buf
void
GnomeCanvasBuf *buf
gnome_canvas_join_gdk_to_art
ArtPathStrokeJoinType
GdkJoinStyle gdk_join
gnome_canvas_cap_gdk_to_art
ArtPathStrokeCapType
GdkCapStyle gdk_cap
GNOME_TYPE_CANVAS_WIDGET
#define GNOME_TYPE_CANVAS_WIDGET (gnome_canvas_widget_get_type ())
GNOME_CANVAS_WIDGET
#define GNOME_CANVAS_WIDGET(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_WIDGET, GnomeCanvasWidget))
GNOME_CANVAS_WIDGET_CLASS
#define GNOME_CANVAS_WIDGET_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_WIDGET, GnomeCanvasWidgetClass))
GNOME_IS_CANVAS_WIDGET
#define GNOME_IS_CANVAS_WIDGET(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_WIDGET))
GNOME_IS_CANVAS_WIDGET_CLASS
#define GNOME_IS_CANVAS_WIDGET_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_WIDGET))
GnomeCanvasWidget
GnomeCanvasWidgetClass
GnomeCanvasWidget
struct GnomeCanvasWidget {
GnomeCanvasItem item;
GtkWidget *widget; /* The child widget */
double x, y; /* Position at anchor */
double width, height; /* Dimensions of widget */
GtkAnchorType anchor; /* Anchor side for widget */
int cx, cy; /* Top-left canvas coordinates for widget */
int cwidth, cheight; /* Size of widget in pixels */
guint destroy_id; /* Signal connection id for destruction of child widget */
guint size_pixels : 1; /* Is size specified in (unchanging) pixels or units (get scaled)? */
guint in_destroy : 1; /* Is child widget being destroyed? */
};
gnome_canvas_widget_get_type
GtkType
void
GNOME_CANVAS_EPSILON
#define GNOME_CANVAS_EPSILON 1e-10
GNOME_CANVAS_COLOR
#define GNOME_CANVAS_COLOR(r, g, b) ((((int) (r) & 0xff) << 24) \
| (((int) (g) & 0xff) << 16) \
| (((int) (b) & 0xff) << 8) \
| 0xff)
GNOME_CANVAS_COLOR_A
#define GNOME_CANVAS_COLOR_A(r, g, b, a) ((((int) (r) & 0xff) << 24) \
| (((int) (g) & 0xff) << 16) \
| (((int) (b) & 0xff) << 8) \
| ((int) (a) & 0xff))
GnomeCanvas
GnomeCanvasClass
GnomeCanvasItem
GnomeCanvasItemClass
GnomeCanvasGroup
GnomeCanvasGroupClass
GnomeCanvasBuf
typedef struct {
/* 24-bit RGB buffer for rendering */
guchar *buf;
/* Rowstride for the buffer */
int buf_rowstride;
/* Rectangle describing the rendering area */
ArtIRect rect;
/* Background color, given as 0xrrggbb */
guint32 bg_color;
/* Invariant: at least one of the following flags is true. */
/* Set when the render rectangle area is the solid color bg_color */
unsigned int is_bg : 1;
/* Set when the render rectangle area is represented by the buf */
unsigned int is_buf : 1;
} GnomeCanvasBuf;
GNOME_TYPE_CANVAS_ITEM
#define GNOME_TYPE_CANVAS_ITEM (gnome_canvas_item_get_type ())
GNOME_CANVAS_ITEM
#define GNOME_CANVAS_ITEM(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_ITEM, GnomeCanvasItem))
GNOME_CANVAS_ITEM_CLASS
#define GNOME_CANVAS_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_ITEM, GnomeCanvasItemClass))
GNOME_IS_CANVAS_ITEM
#define GNOME_IS_CANVAS_ITEM(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_ITEM))
GNOME_IS_CANVAS_ITEM_CLASS
#define GNOME_IS_CANVAS_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_ITEM))
GnomeCanvasItem
struct GnomeCanvasItem {
GtkObject object;
/* Parent canvas for this item */
GnomeCanvas *canvas;
/* Parent canvas group for this item (a GnomeCanvasGroup) */
GnomeCanvasItem *parent;
/* Bounding box for this item (in world coordinates) */
double x1, y1, x2, y2;
/* If NULL, assumed to be the identity tranform. If flags does not have
* AFFINE_FULL, then a two-element array containing a translation. If
* flags contains AFFINE_FULL, a six-element array containing an affine
* transformation.
*/
double *xform;
};
gnome_canvas_item_get_type
GtkType
void
gnome_canvas_item_new
GnomeCanvasItem *
GnomeCanvasGroup *parent, GtkType type,const gchar *first_arg_name, ...
gnome_canvas_item_newv
GnomeCanvasItem *
GnomeCanvasGroup *parent, GtkType type,guint nargs, GtkArg *args
gnome_canvas_item_construct
void
GnomeCanvasItem *item, GnomeCanvasGroup *parent,const gchar *first_arg_name, va_list args
gnome_canvas_item_constructv
void
GnomeCanvasItem *item, GnomeCanvasGroup *parent,guint nargs, GtkArg *args
gnome_canvas_item_set
void
GnomeCanvasItem *item, const gchar *first_arg_name, ...
gnome_canvas_item_setv
void
GnomeCanvasItem *item, guint nargs, GtkArg *args
gnome_canvas_item_set_valist
void
GnomeCanvasItem *item,const gchar *first_arg_name, va_list args
gnome_canvas_item_move
void
GnomeCanvasItem *item, double dx, double dy
gnome_canvas_item_affine_relative
void
GnomeCanvasItem *item, const double affine[6]
gnome_canvas_item_affine_absolute
void
GnomeCanvasItem *item, const double affine[6]
gnome_canvas_item_scale
void
GnomeCanvasItem *item,double x, double y,double scale_x, double scale_y
gnome_canvas_item_rotate
void
GnomeCanvasItem *item, double x, double y, double angle
gnome_canvas_item_raise
void
GnomeCanvasItem *item, int positions
gnome_canvas_item_lower
void
GnomeCanvasItem *item, int positions
gnome_canvas_item_raise_to_top
void
GnomeCanvasItem *item
gnome_canvas_item_lower_to_bottom
void
GnomeCanvasItem *item
gnome_canvas_item_show
void
GnomeCanvasItem *item
gnome_canvas_item_hide
void
GnomeCanvasItem *item
gnome_canvas_item_grab
int
GnomeCanvasItem *item, unsigned int event_mask,GdkCursor *cursor, guint32 etime
gnome_canvas_item_ungrab
void
GnomeCanvasItem *item, guint32 etime
gnome_canvas_item_w2i
void
GnomeCanvasItem *item, double *x, double *y
gnome_canvas_item_i2w
void
GnomeCanvasItem *item, double *x, double *y
gnome_canvas_item_i2w_affine
void
GnomeCanvasItem *item, double affine[6]
gnome_canvas_item_i2c_affine
void
GnomeCanvasItem *item, double affine[6]
gnome_canvas_item_reparent
void
GnomeCanvasItem *item, GnomeCanvasGroup *new_group
gnome_canvas_item_grab_focus
void
GnomeCanvasItem *item
gnome_canvas_item_get_bounds
void
GnomeCanvasItem *item,double *x1, double *y1, double *x2, double *y2
gnome_canvas_item_request_update
void
GnomeCanvasItem *item
GNOME_TYPE_CANVAS_GROUP
#define GNOME_TYPE_CANVAS_GROUP (gnome_canvas_group_get_type ())
GNOME_CANVAS_GROUP
#define GNOME_CANVAS_GROUP(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_GROUP, GnomeCanvasGroup))
GNOME_CANVAS_GROUP_CLASS
#define GNOME_CANVAS_GROUP_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_GROUP, GnomeCanvasGroupClass))
GNOME_IS_CANVAS_GROUP
#define GNOME_IS_CANVAS_GROUP(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_GROUP))
GNOME_IS_CANVAS_GROUP_CLASS
#define GNOME_IS_CANVAS_GROUP_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_GROUP))
GnomeCanvasGroup
struct GnomeCanvasGroup {
GnomeCanvasItem item;
/* Children of the group */
GList *item_list;
GList *item_list_end;
/* The position of the group has been subsumed into the xform of all items */
#ifdef OLD_XFORM
double xpos, ypos; /* Point that defines the group's origin */
#endif
};
gnome_canvas_group_get_type
GtkType
void
gnome_canvas_group_child_bounds
void
GnomeCanvasGroup *group, GnomeCanvasItem *item
GNOME_TYPE_CANVAS
#define GNOME_TYPE_CANVAS (gnome_canvas_get_type ())
GNOME_CANVAS
#define GNOME_CANVAS(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS, GnomeCanvas))
GNOME_CANVAS_CLASS
#define GNOME_CANVAS_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS, GnomeCanvasClass))
GNOME_IS_CANVAS
#define GNOME_IS_CANVAS(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS))
GNOME_IS_CANVAS_CLASS
#define GNOME_IS_CANVAS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS))
GnomeCanvas
struct GnomeCanvas {
GtkLayout layout;
/* Idle handler ID */
guint idle_id;
/* Root canvas group */
GnomeCanvasItem *root;
/* Signal handler ID for destruction of the root item */
guint root_destroy_id;
/* Scrolling region */
double scroll_x1, scroll_y1;
double scroll_x2, scroll_y2;
/* Scaling factor to be used for display */
double pixels_per_unit;
/* Area that is being redrawn. Contains (x1, y1) but not (x2, y2).
* Specified in canvas pixel coordinates.
*/
int redraw_x1, redraw_y1;
int redraw_x2, redraw_y2;
/* Area that needs redrawing, stored as a microtile array */
ArtUta *redraw_area;
/* Offsets of the temprary drawing pixmap */
int draw_xofs, draw_yofs;
/* Internal pixel offsets when zoomed out */
int zoom_xofs, zoom_yofs;
/* Last known modifier state, for deferred repick when a button is down */
int state;
/* The item containing the mouse pointer, or NULL if none */
GnomeCanvasItem *current_item;
/* Item that is about to become current (used to track deletions and such) */
GnomeCanvasItem *new_current_item;
/* Item that holds a pointer grab, or NULL if none */
GnomeCanvasItem *grabbed_item;
/* Event mask specified when grabbing an item */
guint grabbed_event_mask;
/* If non-NULL, the currently focused item */
GnomeCanvasItem *focused_item;
/* Event on which selection of current item is based */
GdkEvent pick_event;
/* Tolerance distance for picking items */
int close_enough;
/* Color context used for color allocation */
GdkColorContext *cc;
/* GC for temporary draw pixmap */
GdkGC *pixmap_gc;
/* Whether items need update at next idle loop iteration */
unsigned int need_update : 1;
/* Whether the canvas needs redrawing at the next idle loop iteration */
unsigned int need_redraw : 1;
/* Whether current item will be repicked at next idle loop iteration */
unsigned int need_repick : 1;
/* For use by internal pick_current_item() function */
unsigned int left_grabbed_item : 1;
/* For use by internal pick_current_item() function */
unsigned int in_repick : 1;
/* Whether the canvas is in antialiased mode or not */
unsigned int aa : 1;
/* dither mode for aa drawing */
unsigned int dither : 2;
};
gnome_canvas_get_type
GtkType
void
gnome_canvas_new
GtkWidget *
void
gnome_canvas_new_aa
GtkWidget *
void
gnome_canvas_root
GnomeCanvasGroup *
GnomeCanvas *canvas
gnome_canvas_set_scroll_region
void
GnomeCanvas *canvas,double x1, double y1, double x2, double y2
gnome_canvas_get_scroll_region
void
GnomeCanvas *canvas,double *x1, double *y1, double *x2, double *y2
gnome_canvas_set_pixels_per_unit
void
GnomeCanvas *canvas, double n
gnome_canvas_scroll_to
void
GnomeCanvas *canvas, int cx, int cy
gnome_canvas_get_scroll_offsets
void
GnomeCanvas *canvas, int *cx, int *cy
gnome_canvas_update_now
void
GnomeCanvas *canvas
gnome_canvas_get_item_at
GnomeCanvasItem *
GnomeCanvas *canvas, double x, double y
gnome_canvas_request_redraw_uta
void
GnomeCanvas *canvas, ArtUta *uta
gnome_canvas_request_redraw
void
GnomeCanvas *canvas, int x1, int y1, int x2, int y2
gnome_canvas_w2c_affine
void
GnomeCanvas *canvas, double affine[6]
gnome_canvas_w2c
void
GnomeCanvas *canvas, double wx, double wy, int *cx, int *cy
gnome_canvas_w2c_d
void
GnomeCanvas *canvas, double wx, double wy, double *cx, double *cy
gnome_canvas_c2w
void
GnomeCanvas *canvas, int cx, int cy, double *wx, double *wy
gnome_canvas_window_to_world
void
GnomeCanvas *canvas,double winx, double winy, double *worldx, double *worldy
gnome_canvas_world_to_window
void
GnomeCanvas *canvas,double worldx, double worldy, double *winx, double *winy
gnome_canvas_get_color
int
GnomeCanvas *canvas, char *spec, GdkColor *color
gnome_canvas_get_color_pixel
gulong
GnomeCanvas *canvas,guint rgba
gnome_canvas_set_stipple_origin
void
GnomeCanvas *canvas, GdkGC *gc
gnome_canvas_set_dither
void
GnomeCanvas *canvas, GdkRgbDither dither
gnome_canvas_get_dither
GdkRgbDither
GnomeCanvas *canvas
GNOME_CLIENT
#define GNOME_CLIENT(obj) GTK_CHECK_CAST (obj, gnome_client_get_type (), GnomeClient)
GNOME_CLIENT_CLASS
#define GNOME_CLIENT_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_client_get_type (), GnomeClientClass)
GNOME_IS_CLIENT
#define GNOME_IS_CLIENT(obj) GTK_CHECK_TYPE (obj, gnome_client_get_type ())
GNOME_CLIENT_CONNECTED
#define GNOME_CLIENT_CONNECTED(obj) (GNOME_CLIENT (obj)->smc_conn)
GnomeClient
GnomeClientClass
GnomeInteractStyle
typedef enum
{
GNOME_INTERACT_NONE,
GNOME_INTERACT_ERRORS,
GNOME_INTERACT_ANY
} GnomeInteractStyle;
GnomeDialogType
typedef enum
{
GNOME_DIALOG_ERROR,
GNOME_DIALOG_NORMAL
} GnomeDialogType;
GnomeSaveStyle
typedef enum
{
GNOME_SAVE_GLOBAL,
GNOME_SAVE_LOCAL,
GNOME_SAVE_BOTH
} GnomeSaveStyle;
GnomeRestartStyle
typedef enum
{
GNOME_RESTART_IF_RUNNING,
GNOME_RESTART_ANYWAY,
GNOME_RESTART_IMMEDIATELY,
GNOME_RESTART_NEVER
} GnomeRestartStyle;
GnomeClientState
typedef enum
{
GNOME_CLIENT_IDLE,
GNOME_CLIENT_SAVING_PHASE_1,
GNOME_CLIENT_WAITING_FOR_PHASE_2,
GNOME_CLIENT_SAVING_PHASE_2,
GNOME_CLIENT_FROZEN,
GNOME_CLIENT_DISCONNECTED,
GNOME_CLIENT_REGISTERING
} GnomeClientState;
GnomeClientFlags
typedef enum
{
GNOME_CLIENT_IS_CONNECTED= 1 << 0,
GNOME_CLIENT_RESTARTED = 1 << 1,
GNOME_CLIENT_RESTORED = 1 << 2
} GnomeClientFlags;
GnomeInteractFunction
void
GnomeClient *client,
gint key,
GnomeDialogType dialog_type,
gpointer data
GnomeClient
struct GnomeClient
{
GtkObject object;
/* general information about the connection to the session manager */
gpointer smc_conn;
gint input_id;
/* client id of this client */
gchar *client_id;
/* Previous client id of this client. */
gchar *previous_id;
/* Prefix for per save configuration files. */
gchar *config_prefix;
/* Prefix for app configuration files. */
gchar *global_config_prefix;
/* Static command line options. */
GList *static_args;
/* The following properties are predefined in the X session
management protocol. The entries marked with a 'x' are required
by the session management protocol. The entries marked with a
's' are set automatically when creating a new gnome client. */
gchar **clone_command; /*[xs]*/
gchar *current_directory; /*[ ]*/
gchar **discard_command; /*[ ]*/
GHashTable *environment; /*[ ]*/
pid_t process_id; /*[ s]*/
gchar *program; /*[xs]*/
gchar **resign_command; /*[ ]*/
gchar **restart_command; /*[xs]*/
GnomeRestartStyle restart_style; /*[ ]*/
gchar **shutdown_command; /*[ ]*/
gchar *user_id; /*[xs]*/
/* values sent with the last SaveYourself message */
GnomeSaveStyle save_style;
GnomeInteractStyle interact_style;
gboolean shutdown;
gboolean fast;
/* other internal state information */
GnomeClientState state;
gboolean save_phase_2_requested;
gboolean save_successfull;
gboolean save_yourself_emitted;
GSList *interaction_keys;
};
gnome_client_get_type
guint
void
gnome_client_init
void
void
gnome_master_client
GnomeClient *
void
gnome_client_get_config_prefix
gchar *
GnomeClient *client
gnome_client_get_global_config_prefix
gchar *
GnomeClient *client
gnome_client_set_global_config_prefix
void
GnomeClient *client,gchar* prefix
gnome_client_get_flags
GnomeClientFlags
GnomeClient *client
gnome_client_set_restart_style
void
GnomeClient *client,GnomeRestartStyle style
gnome_client_set_priority
void
GnomeClient *client,guint priority
gnome_client_set_restart_command
void
GnomeClient *client,gint argc, gchar *argv[]
gnome_client_add_static_arg
void
GnomeClient *client, ...
gnome_client_set_discard_command
void
GnomeClient *client,gint argc, gchar *argv[]
gnome_client_set_resign_command
void
GnomeClient *client,gint argc, gchar *argv[]
gnome_client_set_shutdown_command
void
GnomeClient *client,gint argc, gchar *argv[]
gnome_client_set_current_directory
void
GnomeClient *client,const gchar *dir
gnome_client_set_environment
void
GnomeClient *client,const gchar *name,const gchar *value
gnome_client_set_clone_command
void
GnomeClient *client,gint argc, gchar *argv[]
gnome_client_set_process_id
void
GnomeClient *client,pid_t pid
gnome_client_set_program
void
GnomeClient *client,const gchar *program
gnome_client_set_user_id
void
GnomeClient *client,const gchar *user_id
gnome_client_save_any_dialog
void
GnomeClient *client,GnomeDialog *dialog
gnome_client_save_error_dialog
void
GnomeClient *client,GnomeDialog *dialog
gnome_client_request_phase_2
void
GnomeClient *client
gnome_client_request_save
void
GnomeClient *client,GnomeSaveStyle save_style,gboolean shutdown,GnomeInteractStyle interact_style,gboolean fast,gboolean global
gnome_client_flush
void
GnomeClient *client
gnome_client_disable_master_connection
void
void
gnome_client_new
GnomeClient *
void
gnome_client_new_without_connection
GnomeClient *
void
gnome_client_connect
void
GnomeClient *client
gnome_client_disconnect
void
GnomeClient *client
gnome_client_set_id
void
GnomeClient *client,const gchar *client_id
gnome_client_get_id
gchar *
GnomeClient *client
gnome_client_get_previous_id
gchar *
GnomeClient *client
gnome_cloned_client
GnomeClient *
void
gnome_client_request_interaction
void
GnomeClient *client,GnomeDialogType dialog,GnomeInteractFunction func,gpointer client_data
gnome_client_request_interaction_interp
void
GnomeClient *client,GnomeDialogType dialog,GtkCallbackMarshal func,gpointer data,GtkDestroyNotify destroy
gnome_interaction_key_return
void
gint key,gboolean cancel_shutdown
GNOME_TYPE_COLOR_PICKER
#define GNOME_TYPE_COLOR_PICKER (gnome_color_picker_get_type ())
GNOME_COLOR_PICKER
#define GNOME_COLOR_PICKER(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_COLOR_PICKER, GnomeColorPicker))
GNOME_COLOR_PICKER_CLASS
#define GNOME_COLOR_PICKER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_COLOR_PICKER, GnomeColorPickerClass))
GNOME_IS_COLOR_PICKER
#define GNOME_IS_COLOR_PICKER(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_COLOR_PICKER))
GNOME_IS_COLOR_PICKER_CLASS
#define GNOME_IS_COLOR_PICKER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_COLOR_PICKER))
GnomeColorPicker
GnomeColorPickerClass
GnomeColorPicker
struct GnomeColorPicker {
GtkButton button;
gdouble r, g, b, a; /* Red, green, blue, and alpha values */
GdkImlibImage *im; /* Imlib image for rendering dithered sample */
GdkPixmap *pixmap; /* Pixmap with the sample contents */
GdkGC *gc; /* GC for drawing */
GtkWidget *da; /* Drawing area for color sample */
GtkWidget *cs_dialog; /* Color selection dialog */
gchar *title; /* Title for the color selection window */
guint dither : 1; /* Dither or just paint a solid color? */
guint use_alpha : 1; /* Use alpha or not */
};
gnome_color_picker_get_type
GtkType
void
gnome_color_picker_new
GtkWidget *
void
gnome_color_picker_set_d
void
GnomeColorPicker *cp, gdouble r, gdouble g, gdouble b, gdouble a
gnome_color_picker_get_d
void
GnomeColorPicker *cp, gdouble *r, gdouble *g, gdouble *b, gdouble *a
gnome_color_picker_set_i8
void
GnomeColorPicker *cp, guint8 r, guint8 g, guint8 b, guint8 a
gnome_color_picker_get_i8
void
GnomeColorPicker *cp, guint8 *r, guint8 *g, guint8 *b, guint8 *a
gnome_color_picker_set_i16
void
GnomeColorPicker *cp, gushort r, gushort g, gushort b, gushort a
gnome_color_picker_get_i16
void
GnomeColorPicker *cp, gushort *r, gushort *g, gushort *b, gushort *a
gnome_color_picker_set_dither
void
GnomeColorPicker *cp, gboolean dither
gnome_color_picker_set_use_alpha
void
GnomeColorPicker *cp, gboolean use_alpha
gnome_color_picker_set_title
void
GnomeColorPicker *cp, const gchar *title
GNOME_IS_MDI_MDI_CHILD
# define GNOME_IS_MDI_MDI_CHILD(obj) GNOME_IS_MDI_GENERIC_CHILD(obj)
GnomeDateEditFlags
typedef enum {
GNOME_DATE_EDIT_SHOW_TIME = 1 << 0,
GNOME_DATE_EDIT_24_HR = 1 << 1,
GNOME_DATE_EDIT_WEEK_STARTS_ON_MONDAY = 1 << 2
} GnomeDateEditFlags;
GNOME_DATE_EDIT
#define GNOME_DATE_EDIT(obj) GTK_CHECK_CAST (obj, gnome_date_edit_get_type(), GnomeDateEdit)
GNOME_DATE_EDIT_CLASS
#define GNOME_DATE_EDIT_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_date_edit_get_type(), GnomeDateEditClass)
GNOME_IS_DATE_EDIT
#define GNOME_IS_DATE_EDIT(obj) GTK_CHECK_TYPE (obj, gnome_date_edit_get_type ())
GnomeDateEdit
typedef struct {
GtkHBox hbox;
GtkWidget *date_entry;
GtkWidget *date_button;
GtkWidget *time_entry;
GtkWidget *time_popup;
GtkWidget *cal_label;
GtkWidget *cal_popup;
GtkWidget *calendar;
int lower_hour;
int upper_hour;
time_t initial_time;
int flags;
} GnomeDateEdit;
gnome_date_edit_get_type
guint
void
gnome_date_edit_new
GtkWidget *
time_t the_time, int show_time, int use_24_format
gnome_date_edit_new_flags
GtkWidget *
time_t the_time, GnomeDateEditFlags flags
gnome_date_edit_set_time
void
GnomeDateEdit *gde, time_t the_time
gnome_date_edit_set_popup_range
void
GnomeDateEdit *gde, int low_hour, int up_hour
gnome_date_edit_get_date
time_t
GnomeDateEdit *gde
gnome_date_edit_set_flags
void
GnomeDateEdit *gde, GnomeDateEditFlags flags
gnome_date_edit_get_flags
int
GnomeDateEdit *gde
GnomeDEntryEdit
GnomeDEntryEditClass
GNOME_DENTRY_EDIT
#define GNOME_DENTRY_EDIT(obj) GTK_CHECK_CAST (obj, gnome_dentry_edit_get_type (), GnomeDEntryEdit)
GNOME_DENTRY_EDIT_CLASS
#define GNOME_DENTRY_EDIT_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_dentry_edit_get_type (), GnomeDEntryEditClass)
GNOME_IS_DENTRY_EDIT
#define GNOME_IS_DENTRY_EDIT(obj) GTK_CHECK_TYPE (obj, gnome_dentry_edit_get_type ())
GnomeDEntryEdit
struct GnomeDEntryEdit {
GtkObject object;
/*semi public entries, you should however use macros to get these*/
GtkWidget *child1;
GtkWidget *child2;
/* Remaining fields are private - if you need them,
please add an accessor function. */
GtkWidget *name_entry;
GtkWidget *comment_entry;
GtkWidget *exec_entry;
GtkWidget *tryexec_entry;
GtkWidget *doc_entry;
GtkWidget *type_combo;
GtkWidget *terminal_button;
GtkWidget *icon_entry;
};
gnome_dentry_edit_get_type
guint
void
gnome_dentry_edit_new
GtkObject *
void
gnome_dentry_edit_child1
#define gnome_dentry_edit_child1(d) (GNOME_DENTRY_EDIT(d)->child1)
gnome_dentry_edit_child2
#define gnome_dentry_edit_child2(d) (GNOME_DENTRY_EDIT(d)->child2)
gnome_dentry_edit_new_notebook
GtkObject *
GtkNotebook * notebook
gnome_dentry_edit_clear
void
GnomeDEntryEdit * dee
gnome_dentry_edit_load_file
void
GnomeDEntryEdit * dee,const gchar * path
gnome_dentry_edit_set_dentry
void
GnomeDEntryEdit * dee,GnomeDesktopEntry * dentry
gnome_dentry_get_dentry
GnomeDesktopEntry *
GnomeDEntryEdit * dee
gnome_dentry_edit_get_icon
gchar *
GnomeDEntryEdit * dee
gnome_dentry_edit_get_name
gchar *
GnomeDEntryEdit * dee
gnome_dentry_get_name_entry
GtkWidget *
GnomeDEntryEdit * dee
gnome_dentry_get_comment_entry
GtkWidget *
GnomeDEntryEdit * dee
gnome_dentry_get_exec_entry
GtkWidget *
GnomeDEntryEdit * dee
gnome_dentry_get_tryexec_entry
GtkWidget *
GnomeDEntryEdit * dee
gnome_dentry_get_doc_entry
GtkWidget *
GnomeDEntryEdit * dee
gnome_dentry_get_icon_entry
GtkWidget *
GnomeDEntryEdit * dee
gnome_ok_dialog
GtkWidget *
const gchar * message
gnome_ok_dialog_parented
GtkWidget *
const gchar * message,GtkWindow * parent
gnome_error_dialog
GtkWidget *
const gchar * error
gnome_error_dialog_parented
GtkWidget *
const gchar * error,GtkWindow * parent
gnome_warning_dialog
GtkWidget *
const gchar * warning
gnome_warning_dialog_parented
GtkWidget *
const gchar * warning,GtkWindow * parent
gnome_question_dialog
GtkWidget *
const gchar * question,GnomeReplyCallback callback,gpointer data
gnome_question_dialog_parented
GtkWidget *
const gchar * question,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
gnome_question_dialog_modal
GtkWidget *
const gchar * question,GnomeReplyCallback callback,gpointer data
gnome_question_dialog_modal_parented
GtkWidget *
const gchar * question,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
gnome_ok_cancel_dialog
GtkWidget *
const gchar * message,GnomeReplyCallback callback,gpointer data
gnome_ok_cancel_dialog_parented
GtkWidget *
const gchar * message,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
gnome_ok_cancel_dialog_modal
GtkWidget *
const gchar * message,GnomeReplyCallback callback,gpointer data
gnome_ok_cancel_dialog_modal_parented
GtkWidget *
const gchar * message,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
gnome_request_string_dialog
GtkWidget *
const gchar * prompt,GnomeStringCallback callback,gpointer data
gnome_request_string_dialog_parented
GtkWidget *
const gchar * prompt,GnomeStringCallback callback,gpointer data,GtkWindow * parent
gnome_request_password_dialog
GtkWidget *
const gchar * prompt,GnomeStringCallback callback,gpointer data
gnome_request_password_dialog_parented
GtkWidget *
const gchar * prompt,GnomeStringCallback callback,gpointer data,GtkWindow * parent
gnome_request_dialog
GtkWidget *
gboolean password,const gchar * prompt,const gchar * default_text,const guint16 max_length,GnomeStringCallback callback,gpointer data,GtkWindow * parent
GNOME_DIALOG
#define GNOME_DIALOG(obj) GTK_CHECK_CAST (obj, gnome_dialog_get_type (), GnomeDialog)
GNOME_DIALOG_CLASS
#define GNOME_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_dialog_get_type (), GnomeDialogClass)
GNOME_IS_DIALOG
#define GNOME_IS_DIALOG(obj) GTK_CHECK_TYPE (obj, gnome_dialog_get_type ())
GnomeDialog
GnomeDialogClass
GnomeDialog
struct GnomeDialog
{
GtkWindow window;
GtkWidget * vbox;
GtkWidget * action_area; /* A button box, not an hbox */
GList *buttons;
GtkAccelGroup * accelerators;
unsigned int click_closes : 1;
unsigned int just_hide : 1;
gpointer padding;
};
gnome_dialog_get_type
guint
void
gnome_dialog_new
GtkWidget *
const gchar * title,...
gnome_dialog_newv
GtkWidget *
const gchar * title,const gchar **buttons
gnome_dialog_set_parent
void
GnomeDialog * dialog,GtkWindow * parent
gnome_dialog_button_connect
void
GnomeDialog *dialog,gint button,GtkSignalFunc callback,gpointer data
gnome_dialog_button_connect_object
void
GnomeDialog *dialog,gint button,GtkSignalFunc callback,GtkObject * obj
gnome_dialog_run
gint
GnomeDialog *dialog
gnome_dialog_run_and_close
gint
GnomeDialog *dialog
gnome_dialog_set_default
void
GnomeDialog *dialog,gint button
gnome_dialog_set_sensitive
void
GnomeDialog *dialog,gint button,gboolean setting
gnome_dialog_set_accelerator
void
GnomeDialog * dialog,gint button,const guchar accelerator_key,guint8 accelerator_mods
gnome_dialog_close
void
GnomeDialog * dialog
gnome_dialog_close_hides
void
GnomeDialog * dialog,gboolean just_hide
gnome_dialog_set_close
void
GnomeDialog * dialog,gboolean click_closes
gnome_dialog_editable_enters
void
GnomeDialog * dialog,GtkEditable * editable
gnome_dialog_append_buttons
void
GnomeDialog * dialog,const gchar * first,...
gnome_dialog_append_button
void
GnomeDialog * dialog,const gchar * name
gnome_dialog_append_buttonsv
void
GnomeDialog * dialog,const gchar **buttons
gnome_dialog_append_button_with_pixmap
void
GnomeDialog * dialog,const gchar * name,const gchar * pixmap
gnome_dialog_append_buttons_with_pixmaps
void
GnomeDialog * dialog,const gchar **names,const gchar **pixmaps
gnome_dialog_construct
void
GnomeDialog * dialog,const gchar * title,va_list ap
gnome_dialog_constructv
void
GnomeDialog * dialog,const gchar * title,const gchar **buttons
gnome_dns_init
void
gint server_count
gnome_dns_lookup
guint32
const char *hostname,void (* callback) (guint32 ip_addr, void *callback_data),void *callback_data
gnome_dns_abort
void
guint32 tag
GNOME_DOCK_BAND
#define GNOME_DOCK_BAND(obj) \
GTK_CHECK_CAST (obj, gnome_dock_band_get_type (), GnomeDockBand)
GNOME_DOCK_BAND_CLASS
#define GNOME_DOCK_BAND_CLASS(class) \
GTK_CHECK_CLASS_CAST (class, gnome_dock_band_get_type (), GnomeDockBandClass)
GNOME_IS_DOCK_BAND
#define GNOME_IS_DOCK_BAND(obj) \
GTK_CHECK_TYPE (obj, gnome_dock_band_get_type ())
GnomeDockBand
GnomeDockBandClass
GnomeDockBandChild
GnomeDockBand
struct GnomeDockBand
{
GtkContainer container;
GtkOrientation orientation;
GList *children; /* GnomeDockBandChild */
guint num_children;
GList *floating_child; /* GnomeDockBandChild */
gboolean doing_drag;
guint max_space_requisition;
guint tot_offsets;
/* This used to remember the allocation before the drag begin: it is
necessary to do so because we actually decide what docking action
happens depending on it, instead of using the current allocation
(which might be constantly changing while the user drags things
around). */
GtkAllocation drag_allocation;
guint new_for_drag : 1;
};
GnomeDockBandChild
struct GnomeDockBandChild
{
GtkWidget *widget;
/* Maximum (requested) offset from the previous child. */
guint offset;
/* Actual offset. */
guint real_offset;
guint drag_offset;
GtkAllocation drag_allocation;
guint prev_space, foll_space;
guint drag_prev_space, drag_foll_space;
guint max_space_requisition;
};
gnome_dock_band_new
GtkWidget *
void
gnome_dock_band_get_type
guint
void
gnome_dock_band_set_orientation
void
GnomeDockBand *band,GtkOrientation orientation
gnome_dock_band_get_orientation
GtkOrientation
GnomeDockBand *band
gnome_dock_band_insert
gboolean
GnomeDockBand *band,GtkWidget *child,guint offset,gint position
gnome_dock_band_prepend
gboolean
GnomeDockBand *band,GtkWidget *child,guint offset
gnome_dock_band_append
gboolean
GnomeDockBand *band,GtkWidget *child,guint offset
gnome_dock_band_set_child_offset
void
GnomeDockBand *band,GtkWidget *child,guint offset
gnome_dock_band_get_child_offset
guint
GnomeDockBand *band,GtkWidget *child
gnome_dock_band_move_child
void
GnomeDockBand *band,GList *old_child,guint new_num
gnome_dock_band_get_num_children
guint
GnomeDockBand *band
gnome_dock_band_drag_begin
void
GnomeDockBand *band,GnomeDockItem *item
gnome_dock_band_drag_to
gboolean
GnomeDockBand *band,GnomeDockItem *item,gint x, gint y
gnome_dock_band_drag_end
void
GnomeDockBand *band,GnomeDockItem *item
gnome_dock_band_get_item_by_name
GnomeDockItem *
GnomeDockBand *band,const char *name,guint *position_return,guint *offset_return
gnome_dock_band_layout_add
void
GnomeDockBand *band,GnomeDockLayout *layout,GnomeDockPlacement placement,guint band_num
GNOME_DOCK_ITEM
#define GNOME_DOCK_ITEM(obj) \
GTK_CHECK_CAST (obj, gnome_dock_item_get_type (), GnomeDockItem)
GNOME_DOCK_ITEM_CLASS
#define GNOME_DOCK_ITEM_CLASS(klass) \
GTK_CHECK_CLASS_CAST (klass, gnome_dock_item_get_type (), GnomeDockItemClass)
GNOME_IS_DOCK_ITEM
#define GNOME_IS_DOCK_ITEM(obj) \
GTK_CHECK_TYPE (obj, gnome_dock_item_get_type ())
GnomeDockItemBehavior
typedef enum
{
GNOME_DOCK_ITEM_BEH_NORMAL = 0,
GNOME_DOCK_ITEM_BEH_EXCLUSIVE = 1 << 0,
GNOME_DOCK_ITEM_BEH_NEVER_FLOATING = 1 << 1,
GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL = 1 << 2,
GNOME_DOCK_ITEM_BEH_NEVER_HORIZONTAL = 1 << 3,
GNOME_DOCK_ITEM_BEH_LOCKED = 1 << 4
} GnomeDockItemBehavior;
GNOME_DOCK_ITEM_BEH_NEVER_DETACH
#define GNOME_DOCK_ITEM_BEH_NEVER_DETACH GNOME_DOCK_ITEM_BEH_NEVER_FLOATING
GNOME_DOCK_ITEM_NOT_LOCKED
#define GNOME_DOCK_ITEM_NOT_LOCKED(x) (! (GNOME_DOCK_ITEM(x)->behavior \
& GNOME_DOCK_ITEM_BEH_LOCKED))
GnomeDockItem
GnomeDockItemClass
GnomeDockItem
struct GnomeDockItem
{
GtkBin bin;
gchar *name;
GdkWindow *bin_window; /* parent window for children */
GdkWindow *float_window;
GtkShadowType shadow_type;
GtkOrientation orientation;
GnomeDockItemBehavior behavior;
guint float_window_mapped : 1;
guint is_floating : 1;
guint in_drag : 1;
/* Start drag position (wrt widget->window). */
gint dragoff_x, dragoff_y;
/* Position of the floating window. */
gint float_x, float_y;
/* If TRUE, the pointer must be grabbed on "map_event". */
guint grab_on_map_event;
};
gnome_dock_item_get_type
guint
void
gnome_dock_item_new
GtkWidget *
const gchar *name,GnomeDockItemBehavior behavior
gnome_dock_item_get_child
GtkWidget *
GnomeDockItem *dock_item
gnome_dock_item_get_name
char *
GnomeDockItem *dock_item
gnome_dock_item_set_shadow_type
void
GnomeDockItem *dock_item,GtkShadowType type
gnome_dock_item_get_shadow_type
GtkShadowType
GnomeDockItem *dock_item
gnome_dock_item_set_orientation
gboolean
GnomeDockItem *dock_item,GtkOrientation orientation
gnome_dock_item_get_orientation
GtkOrientation
GnomeDockItem *dock_item
gnome_dock_item_get_behavior
GnomeDockItemBehavior
GnomeDockItem *dock_item
gnome_dock_item_detach
gboolean
GnomeDockItem *item,gint x, gint y
gnome_dock_item_attach
void
GnomeDockItem *item,GtkWidget *parent,gint x, gint y
gnome_dock_item_grab_pointer
void
GnomeDockItem *item
gnome_dock_item_drag_floating
void
GnomeDockItem *item,gint x, gint y
gnome_dock_item_handle_size_request
void
GnomeDockItem *item,GtkRequisition *requisition
gnome_dock_item_get_floating_position
void
GnomeDockItem *item,gint *x, gint *y
GNOME_DOCK_LAYOUT
#define GNOME_DOCK_LAYOUT(obj) \
GTK_CHECK_CAST (obj, gnome_dock_layout_get_type (), GnomeDockLayout)
GNOME_DOCK_LAYOUT_CLASS
#define GNOME_DOCK_LAYOUT_CLASS(klass) \
GTK_CHECK_CLASS_CAST (klass, gnome_dock_layout_get_type (), GnomeDockLayoutClass)
GNOME_IS_DOCK_LAYOUT
#define GNOME_IS_DOCK_LAYOUT(obj) \
GTK_CHECK_TYPE (obj, gnome_dock_layout_get_type ())
GnomeDockLayoutItem
GnomeDockLayoutClass
GnomeDockLayout
GnomeDockLayoutItem
struct GnomeDockLayoutItem
{
GnomeDockItem *item;
GnomeDockPlacement placement;
union
{
struct
{
gint x;
gint y;
GtkOrientation orientation;
} floating;
struct
{
gint band_num;
gint band_position;
gint offset;
} docked;
} position;
};
GnomeDockLayout
struct GnomeDockLayout
{
GtkObject object;
GList *items; /* GnomeDockLayoutItem */
};
gnome_dock_layout_new
GnomeDockLayout *
void
gnome_dock_layout_get_type
guint
void
gnome_dock_layout_add_item
gboolean
GnomeDockLayout *layout,GnomeDockItem *item,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
gnome_dock_layout_add_floating_item
gboolean
GnomeDockLayout *layout,GnomeDockItem *item,gint x, gint y,GtkOrientation orientation
gnome_dock_layout_get_item
GnomeDockLayoutItem *
GnomeDockLayout *layout,GnomeDockItem *item
gnome_dock_layout_get_item_by_name
GnomeDockLayoutItem *
GnomeDockLayout *layout,const gchar *name
gnome_dock_layout_remove_item
gboolean
GnomeDockLayout *layout,GnomeDockItem *item
gnome_dock_layout_remove_item_by_name
gboolean
GnomeDockLayout *layout,const gchar *name
gnome_dock_layout_create_string
gchar *
GnomeDockLayout *layout
gnome_dock_layout_parse_string
gboolean
GnomeDockLayout *layout,const gchar *string
gnome_dock_layout_add_to_dock
gboolean
GnomeDockLayout *layout,GnomeDock *dock
GNOME_DOCK
#define GNOME_DOCK(obj) \
GTK_CHECK_CAST (obj, gnome_dock_get_type (), GnomeDock)
GNOME_DOCK_CLASS
#define GNOME_DOCK_CLASS(klass) \
GTK_CHECK_CLASS_CAST (klass, gnome_dock_get_type (), GnomeDockClass)
GNOME_IS_DOCK
#define GNOME_IS_DOCK(obj) \
GTK_CHECK_TYPE (obj, gnome_dock_get_type ())
GnomeDockPlacement
typedef enum
{
GNOME_DOCK_TOP,
GNOME_DOCK_RIGHT,
GNOME_DOCK_BOTTOM,
GNOME_DOCK_LEFT,
GNOME_DOCK_FLOATING
} GnomeDockPlacement;
GnomeDock
GnomeDockClass
GnomeDock
struct GnomeDock
{
GtkContainer container;
GtkWidget *client_area;
/* GnomeDockBands associated with this dock. */
GList *top_bands;
GList *bottom_bands;
GList *right_bands;
GList *left_bands;
/* Children that are currently not docked. */
GList *floating_children; /* GtkWidget */
/* Client rectangle before drag. */
GtkAllocation client_rect;
gboolean floating_items_allowed : 1;
};
gnome_dock_new
GtkWidget *
void
gnome_dock_get_type
guint
void
gnome_dock_allow_floating_items
void
GnomeDock *dock,gboolean enable
gnome_dock_add_item
void
GnomeDock *dock,GnomeDockItem *item,GnomeDockPlacement placement,guint band_num,gint position,guint offset,gboolean in_new_band
gnome_dock_add_floating_item
void
GnomeDock *dock,GnomeDockItem *widget,gint x, gint y,GtkOrientation orientation
gnome_dock_set_client_area
void
GnomeDock *dock,GtkWidget *widget
gnome_dock_get_client_area
GtkWidget *
GnomeDock *dock
gnome_dock_get_item_by_name
GnomeDockItem *
GnomeDock *dock,const gchar *name,GnomeDockPlacement *placement_return,guint *num_band_return,guint *band_position_return,guint *offset_return
gnome_dock_get_layout
GnomeDockLayout *
GnomeDock *dock
gnome_dock_add_from_layout
gboolean
GnomeDock *dock,GnomeDockLayout *layout
GNOME_ENTRY
#define GNOME_ENTRY(obj) GTK_CHECK_CAST (obj, gnome_entry_get_type (), GnomeEntry)
GNOME_ENTRY_CLASS
#define GNOME_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_entry_get_type (), GnomeEntryClass)
GNOME_IS_ENTRY
#define GNOME_IS_ENTRY(obj) GTK_CHECK_TYPE (obj, gnome_entry_get_type ())
GnomeEntry
GnomeEntryClass
GnomeEntry
struct GnomeEntry {
GtkCombo combo;
int changed;
char *history_id;
GList *items;
guint max_saved;
};
gnome_entry_get_type
guint
void
gnome_entry_new
GtkWidget *
const gchar *history_id
gnome_entry_gtk_entry
GtkWidget *
GnomeEntry *gentry
gnome_entry_set_history_id
void
GnomeEntry *gentry, const gchar *history_id
gnome_entry_set_max_saved
void
GnomeEntry *gentry, guint max_saved
gnome_entry_prepend_history
void
GnomeEntry *gentry, gint save, const gchar *text
gnome_entry_append_history
void
GnomeEntry *gentry, gint save, const gchar *text
gnome_entry_load_history
void
GnomeEntry *gentry
gnome_entry_save_history
void
GnomeEntry *gentry
GNOME_FILE_ENTRY
#define GNOME_FILE_ENTRY(obj) GTK_CHECK_CAST (obj, gnome_file_entry_get_type (), GnomeFileEntry)
GNOME_FILE_ENTRY_CLASS
#define GNOME_FILE_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_file_entry_get_type (), GnomeFileEntryClass)
GNOME_IS_FILE_ENTRY
#define GNOME_IS_FILE_ENTRY(obj) GTK_CHECK_TYPE (obj, gnome_file_entry_get_type ())
GnomeFileEntry
GnomeFileEntryClass
GnomeFileEntry
struct GnomeFileEntry {
GtkHBox hbox;
char *browse_dialog_title;
char *default_path;
/*the file dialog widget*/
GtkWidget *fsw;
int is_modal;
int directory_entry; /*optional flag to only do directories*/
GtkWidget *gentry;
};
gnome_file_entry_get_type
guint
void
gnome_file_entry_new
GtkWidget *
char *history_id,char *browse_dialog_title
gnome_file_entry_gnome_entry
GtkWidget *
GnomeFileEntry *fentry
gnome_file_entry_gtk_entry
GtkWidget *
GnomeFileEntry *fentry
gnome_file_entry_set_title
void
GnomeFileEntry *fentry,char *browse_dialog_title
gnome_file_entry_set_default_path
void
GnomeFileEntry *fentry,char *path
gnome_file_entry_set_directory
void
GnomeFileEntry *fentry,int directory_entry
gnome_file_entry_get_full_path
char *
GnomeFileEntry *fentry,int file_must_exist
gnome_file_entry_set_modal
void
GnomeFileEntry *fentry,int is_modal
GnomeFontPickerMode
typedef enum {
GNOME_FONT_PICKER_MODE_PIXMAP,
GNOME_FONT_PICKER_MODE_FONT_INFO,
GNOME_FONT_PICKER_MODE_USER_WIDGET,
GNOME_FONT_PICKER_MODE_UNKNOWN
} GnomeFontPickerMode;
GNOME_TYPE_FONT_PICKER
#define GNOME_TYPE_FONT_PICKER (gnome_font_picker_get_type ())
GNOME_FONT_PICKER
#define GNOME_FONT_PICKER(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_FONT_PICKER, GnomeFontPicker))
GNOME_FONT_PICKER_CLASS
#define GNOME_FONT_PICKER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_FONT_PICKER, GnomeFontPickerClass))
GNOME_IS_FONT_PICKER
#define GNOME_IS_FONT_PICKER(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_FONT_PICKER))
GNOME_IS_FONT_PICKER_CLASS
#define GNOME_IS_FONT_PICKER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_FONT_PICKER))
GnomeFontPicker
GnomeFontPickerClass
GnomeFontPicker
struct GnomeFontPicker {
GtkButton button;
GtkWidget *font_dialog;
GtkWidget *inside;
GtkWidget *font_label,*vsep,*size_label;
/* Do not change, use set/get functions */
GnomeFontPickerMode mode;
gchar *font_name;
gchar *preview_text;
/* Only for GNOME_FONT_PICKER_MODE_FONT_INFO */
gboolean use_font_in_label;
gboolean use_font_in_label_size;
gboolean show_size;
gchar *title;
};
gnome_font_picker_get_type
GtkType
void
gnome_font_picker_new
GtkWidget *
void
gnome_font_picker_set_title
void
GnomeFontPicker *gfp, const gchar *title
gnome_font_picker_get_mode
GnomeFontPickerMode
GnomeFontPicker *gfp
gnome_font_picker_set_mode
void
GnomeFontPicker *gfp,GnomeFontPickerMode mode
gnome_font_picker_fi_set_use_font_in_label
void
GnomeFontPicker *gfp,gboolean use_font_in_label,gint size
gnome_font_picker_fi_set_show_size
void
GnomeFontPicker *gfp,gboolean show_size
gnome_font_picker_uw_set_widget
void
GnomeFontPicker *gfp,GtkWidget *widget
gnome_font_picker_get_font_name
gchar *
GnomeFontPicker *gfp
gnome_font_picker_get_font
GdkFont *
GnomeFontPicker *gfp
gnome_font_picker_set_font_name
gboolean
GnomeFontPicker *gfp,const gchar *fontname
gnome_font_picker_get_preview_text
gchar *
GnomeFontPicker *gfp
gnome_font_picker_set_preview_text
void
GnomeFontPicker *gfp,const gchar *text
GnomeFontSelector
GnomeFontSelectorClass
GNOME_FONT_SELECTOR
#define GNOME_FONT_SELECTOR(obj) GTK_CHECK_CAST(obj, gnome_font_selector_get_type(), GnomeFontSelector)
GNOME_FONT_SELECTOR_CLASS
#define GNOME_FONT_SELECTOR_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, gnome_font_selector_get_type(), GnomeFontSelectorClass)
GNOME_IS_FONT_SELECTOR
#define GNOME_IS_FONT_SELECTOR(obj) GTK_CHECK_TYPE(obj, gnome_font_selector_get_type())
FontInfo
GnomeFontSelector
struct GnomeFontSelector
{
GtkDialog parent_object;
GtkWidget *ok_button, *cancel_button;
GtkWidget *main_vbox;
GtkWidget *font_list;
GtkWidget *size_menu;
GtkWidget *size_text;
GtkWidget *border_text;
GtkWidget *text_frame;
GtkWidget *the_text;
GtkWidget *menus[5];
GtkWidget *option_menus[5];
GtkWidget **foundry_items;
GtkWidget **weight_items;
GtkWidget **slant_items;
GtkWidget **set_width_items;
GtkWidget **spacing_items;
GtkWidget *antialias_toggle;
GdkFont *font;
gint font_index;
gint size_type;
gint foundry;
gint weight;
gint slant;
gint set_width;
gint spacing;
};
gnome_font_selector_get_type
guint
void
gnome_font_selector_new
GtkWidget *
void
gnome_font_selector_get_selected
gchar *
GnomeFontSelector *text_tool
gnome_font_select
gchar *
void
gnome_font_select_with_default
gchar *
const gchar *
gnome_parse_geometry
gboolean
const gchar *geometry, gint *xpos, gint *ypos,gint *width, gint *height
gnome_geometry_string
gchar *
GdkWindow * window
GnomeGuru
GnomeGuruClass
GNOME_GURU
#define GNOME_GURU(obj) GTK_CHECK_CAST (obj, gnome_guru_get_type (), GnomeGuru)
GNOME_GURU_CLASS
#define GNOME_GURU_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_guru_get_type (), GnomeGuruClass)
GNOME_IS_GURU
#define GNOME_IS_GURU(obj) GTK_CHECK_TYPE (obj, gnome_guru_get_type ())
GnomeGuru
struct GnomeGuru {
GtkVBox vbox;
/* all private, don't touch it. */
GtkWidget * graphic;
GList * pages;
struct _GnomeGuruPage* current_page;
GtkWidget * next;
GtkWidget * back;
GtkWidget * finish;
GtkWidget * page_title;
GtkWidget * page_box;
GtkWidget * buttonbox;
guint has_dialog : 1;
};
gnome_guru_get_type
guint
void
gnome_guru_new
GtkWidget *
const gchar * name,GtkWidget * graphic,GnomeDialog * dialog
gnome_guru_construct
void
GnomeGuru * guru,const gchar * name,GtkWidget * graphic,GnomeDialog * dialog
gnome_guru_append_page
void
GnomeGuru * guru,const gchar * name,GtkWidget * widget
gnome_guru_next_set_sensitive
void
GnomeGuru * guru,gboolean sensitivity
gnome_guru_back_set_sensitive
void
GnomeGuru * guru,gboolean sensitivity
gnome_guru_current_page
GtkWidget *
GnomeGuru * guru
GNOME_HREF
#define GNOME_HREF(obj) GTK_CHECK_CAST(obj, gnome_href_get_type(), GnomeHRef)
GNOME_HREF_CLASS
#define GNOME_HREF_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, gnome_href_get_type, GnomeHRefClass)
GNOME_IS_HREF
#define GNOME_IS_HREF(obj) GTK_CHECK_TYPE(obj, gnome_href_get_type())
GnomeHRef
GnomeHRefClass
GnomeHRef
struct GnomeHRef {
GtkButton button;
gchar *url;
GtkWidget *label;
};
gnome_href_get_type
guint
void
gnome_href_new
GtkWidget *
const gchar *url, const gchar *label
gnome_href_set_url
void
GnomeHRef *href, const gchar *url
gnome_href_get_url
gchar *
GnomeHRef *href
gnome_href_set_label
void
GnomeHRef *href, const gchar *label
gnome_href_get_label
gchar *
GnomeHRef *href
gnome_ice_init
void
void
GNOME_ICON_ENTRY
#define GNOME_ICON_ENTRY(obj) GTK_CHECK_CAST (obj, gnome_icon_entry_get_type (), GnomeIconEntry)
GNOME_ICON_ENTRY_CLASS
#define GNOME_ICON_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_icon_entry_get_type (), GnomeIconEntryClass)
GNOME_IS_ICON_ENTRY
#define GNOME_IS_ICON_ENTRY(obj) GTK_CHECK_TYPE (obj, gnome_icon_entry_get_type ())
GnomeIconEntry
GnomeIconEntryClass
GnomeIconEntry
struct GnomeIconEntry {
GtkVBox vbox;
GtkWidget *fentry;
GtkWidget *pickbutton;
GtkWidget *pick_dialog;
char *pick_dialog_dir;
};
gnome_icon_entry_get_type
guint
void
gnome_icon_entry_new
GtkWidget *
char *history_id,char *browse_dialog_title
gnome_icon_entry_set_pixmap_subdir
void
GnomeIconEntry *ientry,const char *subdir
gnome_icon_entry_set_icon
void
GnomeIconEntry *ientry,const char *filename
gnome_icon_entry_gnome_file_entry
GtkWidget *
GnomeIconEntry *ientry
gnome_icon_entry_gnome_entry
GtkWidget *
GnomeIconEntry *ientry
gnome_icon_entry_gtk_entry
GtkWidget *
GnomeIconEntry *ientry
gnome_icon_entry_get_filename
char *
GnomeIconEntry *ientry
GNOME_ICON_TEXT_ITEM
#define GNOME_ICON_TEXT_ITEM(obj) (GTK_CHECK_CAST((obj), \
gnome_icon_text_item_get_type (), GnomeIconTextItem))
GNOME_ICON_TEXT_ITEM_CLASS
#define GNOME_ICON_TEXT_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST ((k),\
gnome_icon_text_item_get_type ()))
GNOME_IS_ICON_TEXT_ITEM
#define GNOME_IS_ICON_TEXT_ITEM(o) (GTK_CHECK_TYPE((o), \
gnome_icon_text_item_get_type ()))
GnomeIconTextItem
typedef struct {
GnomeCanvasItem canvas_item;
/* Size and maximum allowed width */
int x, y;
int width;
/* Font name */
char *fontname;
/* Private data */
gpointer priv; /* was GtkEntry *entry */
gpointer pad1; /* was GtkWidget *entry_top */
gpointer pad2; /* was GdkFont *font */
/* Actual text */
char *text;
/* Text layout information */
GnomeIconTextInfo *ti;
/* Whether the text is being edited */
unsigned int editing : 1;
/* Whether the text item is selected */
unsigned int selected : 1;
unsigned int pad3; /* was unsigned int unselected_click : 1 */
/* Whether the user is select-dragging a block of text */
unsigned int selecting : 1;
/* Whether the text is editable */
unsigned int is_editable : 1;
/* Whether the text is allocated by us (FALSE if allocated by the client) */
unsigned int is_text_allocated : 1;
} GnomeIconTextItem;
gnome_icon_text_item_get_type
GtkType
void
gnome_icon_text_item_configure
void
GnomeIconTextItem *iti,int x,int y,int width,const char *fontname,const char *text,gboolean is_editable,gboolean is_static
gnome_icon_text_item_setxy
void
GnomeIconTextItem *iti,int x,int y
gnome_icon_text_item_select
void
GnomeIconTextItem *iti,int sel
gnome_icon_text_item_get_text
char *
GnomeIconTextItem *iti
gnome_icon_text_item_stop_editing
void
GnomeIconTextItem *iti,gboolean accept
GNOME_ICON_LIST
#define GNOME_ICON_LIST(obj) GTK_CHECK_CAST (obj, gnome_icon_list_get_type (), GnomeIconList)
GNOME_ICON_LIST_CLASS
#define GNOME_ICON_LIST_CLASS(k) GTK_CHECK_CLASS_CAST (k, gnome_icon_list_get_type (), GnomeIconListClass)
GNOME_IS_ICON_LIST
#define GNOME_IS_ICON_LIST(obj) GTK_CHECK_TYPE (obj, gnome_icon_list_get_type ())
GnomeIconListMode
typedef enum {
GNOME_ICON_LIST_ICONS,
GNOME_ICON_LIST_TEXT_BELOW,
GNOME_ICON_LIST_TEXT_RIGHT
} GnomeIconListMode;
GnomeIconList
typedef struct {
GnomeCanvas canvas;
/* Private data */
gpointer priv; /* was GtkAdjustment *adj */
gpointer pad1; /* was GtkAdjustment *hadj */
/* Number of icons in the list */
int icons;
gpointer pad2; /* was GList *icon_list */
int pad3; /* was int frozen */
int pad4; /* was int dirty */
int pad5; /* was int row_spacing */
int pad6; /* was int col_spacing */
int pad7; /* was int text_spacing */
int pad8; /* was int icon_border */
gpointer pad9; /* was char *separators */
GnomeIconListMode pad10; /* was GnomeIconListMode mode */
GtkSelectionMode pad11; /* was GtkSelectionMode selection_mode */
/* A list of integers with the indices of the currently selected icons */
GList *selection;
gpointer pad12; /* was GList *preserve_selection */
int pad13; /* was int icon_width */
unsigned int pad14 : 1; /* was unsigned int is_editable : 1 */
unsigned int pad15 : 1; /* was unsigned int static_text : 1 */
int pad16; /* was int last_selected */
gpointer pad17; /* was void *last_clicked */
int pad18; /* was int timer_tag */
int pad19; /* was int value_diff */
gdouble pad20; /* was gdouble event_last_x */
gdouble pad21; /* was gdouble event_last_y */
gpointer pad22; /* was GList *lines */
int pad23; /* was int total_height */
double pad24; /* was double sel_start_x */
double pad25; /* was double sel_start_y */
gpointer pad26; /* was GnomeCanvasItem *sel_rect */
} GnomeIconList;
GNOME_ICON_LIST_IS_EDITABLE
#define GNOME_ICON_LIST_IS_EDITABLE 1
GNOME_ICON_LIST_STATIC_TEXT
#define GNOME_ICON_LIST_STATIC_TEXT 2
gnome_icon_list_get_type
guint
void
gnome_icon_list_new
GtkWidget *
guint icon_width,GtkAdjustment *adj,int flags
gnome_icon_list_new_flags
GtkWidget *
guint icon_width,GtkAdjustment *adj,int flags
gnome_icon_list_construct
void
GnomeIconList *gil,guint icon_width,GtkAdjustment *adj,int flags
gnome_icon_list_set_hadjustment
void
GnomeIconList *gil,GtkAdjustment *hadj
gnome_icon_list_set_vadjustment
void
GnomeIconList *gil,GtkAdjustment *vadj
gnome_icon_list_freeze
void
GnomeIconList *gil
gnome_icon_list_thaw
void
GnomeIconList *gil
gnome_icon_list_insert
void
GnomeIconList *gil,int pos, const char *icon_filename,const char *text
gnome_icon_list_insert_imlib
void
GnomeIconList *gil,int pos, GdkImlibImage *im,const char *text
gnome_icon_list_append
int
GnomeIconList *gil,const char *icon_filename,const char *text
gnome_icon_list_append_imlib
int
GnomeIconList *gil,GdkImlibImage *im,char *text
gnome_icon_list_clear
void
GnomeIconList *gil
gnome_icon_list_remove
void
GnomeIconList *gil, int pos
gnome_icon_list_set_selection_mode
void
GnomeIconList *gil,GtkSelectionMode mode
gnome_icon_list_select_icon
void
GnomeIconList *gil,int idx
gnome_icon_list_unselect_icon
void
GnomeIconList *gil,int pos
gnome_icon_list_unselect_all
int
GnomeIconList *gil,GdkEvent *event, gpointer keep
gnome_icon_list_set_icon_width
void
GnomeIconList *gil,int w
gnome_icon_list_set_row_spacing
void
GnomeIconList *gil,int pixels
gnome_icon_list_set_col_spacing
void
GnomeIconList *gil,int pixels
gnome_icon_list_set_text_spacing
void
GnomeIconList *gil,int pixels
gnome_icon_list_set_icon_border
void
GnomeIconList *gil,int pixels
gnome_icon_list_set_separators
void
GnomeIconList *gil,const char *sep
gnome_icon_list_set_icon_data
void
GnomeIconList *gil,int pos, gpointer data
gnome_icon_list_set_icon_data_full
void
GnomeIconList *gil,int pos, gpointer data,GtkDestroyNotify destroy
gnome_icon_list_find_icon_from_data
int
GnomeIconList *gil,gpointer data
gnome_icon_list_get_icon_data
gpointer
GnomeIconList *gil,int pos
gnome_icon_list_moveto
void
GnomeIconList *gil,int pos, double yalign
gnome_icon_list_icon_is_visible
GtkVisibility
GnomeIconList *gil,int pos
gnome_icon_list_get_icon_at
int
GnomeIconList *gil, int x, int y
gnome_icon_list_get_items_per_line
int
GnomeIconList *gil
GnomeIconSelection
GnomeIconSelectionClass
GNOME_ICON_SELECTION
#define GNOME_ICON_SELECTION(obj) GTK_CHECK_CAST (obj, gnome_icon_selection_get_type (), GnomeIconSelection)
GNOME_ICON_SELECTION_CLASS
#define GNOME_ICON_SELECTION_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_icon_selection_get_type (), GnomeIconSelectionClass)
GNOME_IS_ICON_SELECTION
#define GNOME_IS_ICON_SELECTION(obj) GTK_CHECK_TYPE (obj, gnome_icon_selection_get_type ())
GnomeIconSelection
struct GnomeIconSelection {
GtkVBox vbox;
GtkWidget * box;
GtkWidget * gil;
GList * file_list;
int stop_loading; /* a flag set to stop the loading of images in midprocess */
};
gnome_icon_selection_get_type
guint
void
gnome_icon_selection_new
GtkWidget *
void
gnome_icon_selection_add_defaults
void
GnomeIconSelection * gis
gnome_icon_selection_add_directory
void
GnomeIconSelection * gis,const gchar * dir
gnome_icon_selection_show_icons
void
GnomeIconSelection * gis
gnome_icon_selection_clear
void
GnomeIconSelection * gis,gboolean not_shown
gnome_icon_selection_get_icon
const gchar *
GnomeIconSelection * gis,gboolean full_path
gnome_icon_selection_select_icon
void
GnomeIconSelection * gis,const gchar * filename
gnome_icon_selection_stop_loading
void
GnomeIconSelection * gis
GnomeIconTextInfoRow
typedef struct {
char *text;
int width;
GdkWChar *text_wc; /* text in wide characters */
int text_length; /* number of characters */
} GnomeIconTextInfoRow;
GnomeIconTextInfo
typedef struct {
GList *rows;
GdkFont *font;
int width;
int height;
int baseline_skip;
} GnomeIconTextInfo;
gnome_icon_layout_text
GnomeIconTextInfo *
GdkFont *font, char *text,char *separators, int max_width,int confine
gnome_icon_paint_text
void
GnomeIconTextInfo *ti,GdkDrawable *drawable, GdkGC *gc,int x, int y,GtkJustification just
gnome_icon_text_info_free
void
GnomeIconTextInfo *ti
gnome_init
int
const char *app_id, const char *app_version,int argc, char **argv
gnome_init_with_popt_table
int
const char *app_id,const char *app_version,int argc, char **argv,const struct poptOption *options,int flags,poptContext *return_ctx
GnomeLess
GnomeLessClass
GNOME_LESS
#define GNOME_LESS(obj) GTK_CHECK_CAST (obj, gnome_less_get_type (), GnomeLess)
GNOME_LESS_CLASS
#define GNOME_LESS_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_less_get_type (), GnomeLessClass)
GNOME_IS_LESS
#define GNOME_IS_LESS(obj) GTK_CHECK_TYPE (obj, gnome_less_get_type ())
GnomeLess
struct GnomeLess {
GtkVBox vbox;
GtkText * text;
GtkMenu * popup;
GdkFont * font; /* font that goes to gtk_text_insert_text call,
can be NULL */
};
gnome_less_get_type
guint
void
gnome_less_new
GtkWidget *
void
gnome_less_clear
void
GnomeLess * gl
gnome_less_show_file
gboolean
GnomeLess * gl, const gchar * path
gnome_less_show_command
gboolean
GnomeLess * gl, const gchar * command_line
gnome_less_show_string
void
GnomeLess * gl, const gchar * s
gnome_less_show_filestream
gboolean
GnomeLess * gl, FILE * f
gnome_less_show_fd
gboolean
GnomeLess * gl, int file_descriptor
gnome_less_write_file
gboolean
GnomeLess * gl, const gchar * path
gnome_less_write_fd
gboolean
GnomeLess * gl, int fd
gnome_less_set_font
void
GnomeLess * gl, GdkFont * font
gnome_less_set_fixed_font
void
GnomeLess * gl, gboolean fixed
gnome_less_reshow
void
GnomeLess * gl
gnome_less_fixed_font
void
GnomeLess * gl
GNOME_MDI_CHILD
#define GNOME_MDI_CHILD(obj) GTK_CHECK_CAST (obj, gnome_mdi_child_get_type (), GnomeMDIChild)
GNOME_MDI_CHILD_CLASS
#define GNOME_MDI_CHILD_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_mdi_child_get_type (), GnomeMDIChildClass)
GNOME_IS_MDI_CHILD
#define GNOME_IS_MDI_CHILD(obj) GTK_CHECK_TYPE (obj, gnome_mdi_child_get_type ())
GnomeMDIChild
GnomeMDIChildClass
GnomeMDIChild
struct GnomeMDIChild
{
GtkObject object;
GtkObject *parent;
gchar *name;
GList *views;
GnomeUIInfo *menu_template;
};
GnomeMDIChildViewCreator
GtkWidget *
GnomeMDIChild *, gpointer
GnomeMDIChildMenuCreator
GList *
GnomeMDIChild *, GtkWidget *, gpointer
GnomeMDIChildConfigFunc
gchar *
GnomeMDIChild *, gpointer
GnomeMDIChildLabelFunc
GtkWidget *
GnomeMDIChild *, GtkWidget *, gpointer
gnome_mdi_child_get_type
guint
void
gnome_mdi_child_add_view
GtkWidget *
GnomeMDIChild *mdi_child
gnome_mdi_child_remove_view
void
GnomeMDIChild *mdi_child, GtkWidget *view
gnome_mdi_child_set_name
void
GnomeMDIChild *mdi_child, gchar *name
gnome_mdi_child_set_menu_template
void
GnomeMDIChild *mdi_child, GnomeUIInfo *menu_tmpl
GNOME_MDI_GENERIC_CHILD
#define GNOME_MDI_GENERIC_CHILD(obj) GTK_CHECK_CAST (obj, gnome_mdi_generic_child_get_type (), GnomeMDIGenericChild)
GNOME_MDI_GENERIC_CHILD_CLASS
#define GNOME_MDI_GENERIC_CHILD_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_mdi_generic_child_get_type (), GnomeMDIGenericChildClass)
GNOME_IS_MDI_GENERIC_CHILD
#define GNOME_IS_MDI_GENERIC_CHILD(obj) GTK_CHECK_TYPE (obj, gnome_mdi_generic_child_get_type ())
GnomeMDIGenericChild
GnomeMDIGenericChildClass
GnomeMDIGenericChild
struct GnomeMDIGenericChild {
GnomeMDIChild mdi_child;
/* if any of these are set they override the virtual functions
in GnomeMDIChildClass. create_view is mandatory, as no default
handler is provided, others may be NULL */
GnomeMDIChildViewCreator create_view;
GnomeMDIChildMenuCreator create_menus;
GnomeMDIChildConfigFunc get_config_string;
GnomeMDIChildLabelFunc set_label;
GtkCallbackMarshal create_view_cbm, create_menus_cbm,
get_config_string_cbm, set_label_cbm;
GtkDestroyNotify create_view_dn, create_menus_dn,
get_config_string_dn, set_label_dn;
gpointer create_view_data, create_menus_data,
get_config_string_data, set_label_data;
};
gnome_mdi_generic_child_get_type
guint
void
gnome_mdi_generic_child_new
GnomeMDIGenericChild *
gchar *name
gnome_mdi_generic_child_set_view_creator
void
GnomeMDIGenericChild *child,GnomeMDIChildViewCreator func,gpointer data
gnome_mdi_generic_child_set_view_creator_full
void
GnomeMDIGenericChild *child,GnomeMDIChildViewCreator func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
gnome_mdi_generic_child_set_menu_creator
void
GnomeMDIGenericChild *child,GnomeMDIChildMenuCreator func,gpointer data
gnome_mdi_generic_child_set_menu_creator_full
void
GnomeMDIGenericChild *child,GnomeMDIChildMenuCreator func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
gnome_mdi_generic_child_set_config_func
void
GnomeMDIGenericChild *child,GnomeMDIChildConfigFunc func,gpointer data
gnome_mdi_generic_child_set_config_func_full
void
GnomeMDIGenericChild *child,GnomeMDIChildConfigFunc func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
gnome_mdi_generic_child_set_label_func
void
GnomeMDIGenericChild *child,GnomeMDIChildLabelFunc func,gpointer data
gnome_mdi_generic_child_set_label_func_full
void
GnomeMDIGenericChild *child,GnomeMDIChildLabelFunc func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
GnomeMDIChildCreator
GnomeMDIChild *
const gchar *
gnome_mdi_restore_state
gboolean
GnomeMDI *mdi, const char *section,GnomeMDIChildCreator child_create_func
gnome_mdi_save_state
void
GnomeMDI *mdi, const gchar *section
GNOME_MDI
#define GNOME_MDI(obj) GTK_CHECK_CAST (obj, gnome_mdi_get_type (), GnomeMDI)
GNOME_MDI_CLASS
#define GNOME_MDI_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_mdi_get_type (), GnomeMDIClass)
GNOME_IS_MDI
#define GNOME_IS_MDI(obj) GTK_CHECK_TYPE (obj, gnome_mdi_get_type ())
GnomeMDI
GnomeMDIClass
GnomeMDIMode
typedef enum {
GNOME_MDI_NOTEBOOK,
GNOME_MDI_TOPLEVEL,
GNOME_MDI_MODAL,
GNOME_MDI_DEFAULT_MODE = 42
} GnomeMDIMode;
GnomeMDI
struct GnomeMDI {
GtkObject object;
GnomeMDIMode mode;
GtkPositionType tab_pos;
guint signal_id;
gint in_drag : 1;
gchar *appname, *title;
GnomeUIInfo *menu_template;
GnomeUIInfo *toolbar_template;
/* probably only one of these would do, but... redundancy rules ;) */
GnomeMDIChild *active_child;
GtkWidget *active_view;
GnomeApp *active_window;
GList *windows; /* toplevel windows - GnomeApp widgets */
GList *children; /* children - GnomeMDIChild objects*/
GSList *registered; /* see comment for gnome_mdi_(un)register() functions below for an explanation. */
/* paths for insertion of mdi_child specific menus and mdi_child list menu via
gnome-app-helper routines */
gchar *child_menu_path;
gchar *child_list_path;
};
gnome_mdi_get_type
guint
void
gnome_mdi_new
GtkObject *
gchar *appname, gchar *title
gnome_mdi_set_mode
void
GnomeMDI *mdi, GnomeMDIMode mode
gnome_mdi_set_menubar_template
void
GnomeMDI *mdi, GnomeUIInfo *menu_tmpl
gnome_mdi_set_toolbar_template
void
GnomeMDI *mdi, GnomeUIInfo *tbar_tmpl
gnome_mdi_set_child_menu_path
void
GnomeMDI *mdi, const gchar *path
gnome_mdi_set_child_list_path
void
GnomeMDI *mdi, const gchar *path
gnome_mdi_add_view
gint
GnomeMDI *mdi, GnomeMDIChild *child
gnome_mdi_add_toplevel_view
gint
GnomeMDI *mdi, GnomeMDIChild *child
gnome_mdi_remove_view
gint
GnomeMDI *mdi, GtkWidget *view, gint force
gnome_mdi_get_active_view
GtkWidget *
GnomeMDI *mdi
gnome_mdi_set_active_view
void
GnomeMDI *mdi, GtkWidget *view
gnome_mdi_add_child
gint
GnomeMDI *mdi, GnomeMDIChild *child
gnome_mdi_remove_child
gint
GnomeMDI *mdi, GnomeMDIChild *child, gint force
gnome_mdi_remove_all
gint
GnomeMDI *mdi, gint force
gnome_mdi_open_toplevel
void
GnomeMDI *mdi
gnome_mdi_update_child
void
GnomeMDI *mdi, GnomeMDIChild *child
gnome_mdi_get_active_child
GnomeMDIChild *
GnomeMDI *mdi
gnome_mdi_find_child
GnomeMDIChild *
GnomeMDI *mdi, gchar *name
gnome_mdi_get_active_window
GnomeApp *
GnomeMDI *mdi
gnome_mdi_register
void
GnomeMDI *mdi, GtkObject *object
gnome_mdi_unregister
void
GnomeMDI *mdi, GtkObject *object
gnome_mdi_get_app_from_view
GnomeApp *
GtkWidget *view
gnome_mdi_get_child_from_view
GnomeMDIChild *
GtkWidget *view
gnome_mdi_get_view_from_window
GtkWidget *
GnomeMDI *mdi, GnomeApp *app
gnome_mdi_get_menubar_info
GnomeUIInfo *
GnomeApp *app
gnome_mdi_get_toolbar_info
GnomeUIInfo *
GnomeApp *app
gnome_mdi_get_child_menu_info
GnomeUIInfo *
GnomeApp *app
GNOME_MESSAGE_BOX
#define GNOME_MESSAGE_BOX(obj) GTK_CHECK_CAST (obj, gnome_message_box_get_type (), GnomeMessageBox)
GNOME_MESSAGE_BOX_CLASS
#define GNOME_MESSAGE_BOX_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_message_box_get_type (), GnomeMessageBoxClass)
GNOME_IS_MESSAGE_BOX
#define GNOME_IS_MESSAGE_BOX(obj) GTK_CHECK_TYPE (obj, gnome_message_box_get_type ())
GNOME_MESSAGE_BOX_INFO
#define GNOME_MESSAGE_BOX_INFO "info"
GNOME_MESSAGE_BOX_WARNING
#define GNOME_MESSAGE_BOX_WARNING "warning"
GNOME_MESSAGE_BOX_ERROR
#define GNOME_MESSAGE_BOX_ERROR "error"
GNOME_MESSAGE_BOX_QUESTION
#define GNOME_MESSAGE_BOX_QUESTION "question"
GNOME_MESSAGE_BOX_GENERIC
#define GNOME_MESSAGE_BOX_GENERIC "generic"
GnomeMessageBox
GnomeMessageBoxClass
GnomeMessageBoxButton
GnomeMessageBox
struct GnomeMessageBox
{
GnomeDialog dialog;
};
gnome_message_box_get_type
guint
void
gnome_message_box_new
GtkWidget *
const gchar *message,const gchar *messagebox_type,...
gnome_message_box_newv
GtkWidget *
const gchar *message,const gchar *messagebox_type,const gchar **buttons
gnome_message_box_set_modal
void
GnomeMessageBox *messagebox
gnome_message_box_set_default
void
GnomeMessageBox *messagebox,gint button
GNOME_NUMBER_ENTRY
#define GNOME_NUMBER_ENTRY(obj) GTK_CHECK_CAST (obj, gnome_number_entry_get_type (), GnomeNumberEntry)
GNOME_NUMBER_ENTRY_CLASS
#define GNOME_NUMBER_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_number_entry_get_type (), GnomeNumberEntryClass)
GNOME_IS_NUMBER_ENTRY
#define GNOME_IS_NUMBER_ENTRY(obj) GTK_CHECK_TYPE (obj, gnome_number_entry_get_type ())
GnomeNumberEntry
GnomeNumberEntryClass
GnomeNumberEntry
struct GnomeNumberEntry {
GtkHBox hbox;
char *calc_dialog_title;
GtkWidget *calc_dlg;
GtkWidget *gentry;
};
gnome_number_entry_get_type
guint
void
gnome_number_entry_new
GtkWidget *
char *history_id,char *calc_dialog_title
gnome_number_entry_gnome_entry
GtkWidget *
GnomeNumberEntry *nentry
gnome_number_entry_gtk_entry
GtkWidget *
GnomeNumberEntry *nentry
gnome_number_entry_set_title
void
GnomeNumberEntry *nentry,char *calc_dialog_title
gnome_number_entry_get_number
gdouble
GnomeNumberEntry *nentry
GNOME_PAPER_SELECTOR
#define GNOME_PAPER_SELECTOR(obj) GTK_CHECK_CAST (obj, gnome_paper_selector_get_type (), GnomePaperSelector)
GNOME_PAPER_SELECTOR_CLASS
#define GNOME_PAPER_SELECTOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_paper_selector_get_type (), GnomePaperSelectorClass)
GNOME_IS_PAPER_SELECTOR
#define GNOME_IS_PAPER_SELECTOR(obj) GTK_CHECK_TYPE (obj, gnome_paper_selector_get_type ())
GnomePaperSelector
GnomePaperSelectorClass
GnomePaperSelector
struct GnomePaperSelector {
GtkVBox vbox;
GtkWidget *paper;
GtkWidget *width;
GtkWidget *height;
GtkWidget *unit;
GtkWidget *unit_label;
gint paper_id;
gint width_id;
gint height_id;
};
gnome_paper_selector_get_type
guint
void
gnome_paper_selector_new
GtkWidget *
void
gnome_paper_selector_get_name
gchar *
GnomePaperSelector *gspaper
gnome_paper_selector_get_width
gfloat
GnomePaperSelector *gspaper
gnome_paper_selector_get_height
gfloat
GnomePaperSelector *gspaper
gnome_paper_selector_get_left_margin
gfloat
GnomePaperSelector *gspaper
gnome_paper_selector_get_right_margin
gfloat
GnomePaperSelector *gspaper
gnome_paper_selector_get_top_margin
gfloat
GnomePaperSelector *gspaper
gnome_paper_selector_get_bottom_margin
gfloat
GnomePaperSelector *gspaper
gnome_paper_selector_set_name
void
GnomePaperSelector *gspaper,gchar *name
gnome_paper_selector_set_width
void
GnomePaperSelector *gspaper,gfloat width
gnome_paper_selector_set_height
void
GnomePaperSelector *gspaper,gfloat height
GNOME_PIXMAP_ENTRY
#define GNOME_PIXMAP_ENTRY(obj) GTK_CHECK_CAST (obj, gnome_pixmap_entry_get_type (), GnomePixmapEntry)
GNOME_PIXMAP_ENTRY_CLASS
#define GNOME_PIXMAP_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_pixmap_entry_get_type (), GnomePixmapEntryClass)
GNOME_IS_PIXMAP_ENTRY
#define GNOME_IS_PIXMAP_ENTRY(obj) GTK_CHECK_TYPE (obj, gnome_pixmap_entry_get_type ())
GnomePixmapEntry
GnomePixmapEntryClass
GnomePixmapEntry
struct GnomePixmapEntry {
GtkVBox vbox;
GtkWidget *fentry;
int do_preview; /*put a preview frame with the pixmap next to
the entry*/
GtkWidget *preview;
GtkWidget *preview_sw;
/*very private*/
char *last_preview;
};
gnome_pixmap_entry_get_type
guint
void
gnome_pixmap_entry_new
GtkWidget *
char *history_id,char *browse_dialog_title,int do_preview
gnome_pixmap_entry_set_pixmap_subdir
void
GnomePixmapEntry *pentry,const char *subdir
gnome_pixmap_entry_gnome_file_entry
GtkWidget *
GnomePixmapEntry *pentry
gnome_pixmap_entry_gnome_entry
GtkWidget *
GnomePixmapEntry *pentry
gnome_pixmap_entry_gtk_entry
GtkWidget *
GnomePixmapEntry *pentry
gnome_pixmap_entry_set_preview
void
GnomePixmapEntry *pentry,int do_preview
gnome_pixmap_entry_set_preview_size
void
GnomePixmapEntry *pentry,int preview_w,int preview_h
gnome_pixmap_entry_get_filename
char *
GnomePixmapEntry *pentry
GNOME_PIXMAP
#define GNOME_PIXMAP(obj) GTK_CHECK_CAST (obj, gnome_pixmap_get_type (), GnomePixmap)
GNOME_PIXMAP_CLASS
#define GNOME_PIXMAP_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_pixmap_get_type (), GnomePixmapClass)
GNOME_IS_PIXMAP
#define GNOME_IS_PIXMAP(obj) GTK_CHECK_TYPE (obj, gnome_pixmap_get_type ())
GnomePixmap
GnomePixmapClass
GnomePixmap
struct GnomePixmap {
GtkWidget widget;
GdkPixmap *pixmap;
GdkBitmap *mask;
};
gnome_pixmap_get_type
guint
void
gnome_pixmap_new_from_file
GtkWidget *
const char *filename
gnome_pixmap_new_from_file_at_size
GtkWidget *
const char *filename, int width, int height
gnome_pixmap_new_from_xpm_d
GtkWidget *
char **xpm_data
gnome_pixmap_new_from_xpm_d_at_size
GtkWidget *
char **xpm_data, int width, int height
gnome_pixmap_new_from_rgb_d
GtkWidget *
unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height
gnome_pixmap_new_from_rgb_d_shaped
GtkWidget *
unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,GdkImlibColor *shape_color
gnome_pixmap_new_from_rgb_d_shaped_at_size
GtkWidget *
unsigned char *data,unsigned char *alpha,int rgb_width, int rgb_height,int width, int height,GdkImlibColor *shape_color
gnome_pixmap_new_from_rgb_d_at_size
GtkWidget *
unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,int width, int height
gnome_pixmap_new_from_gnome_pixmap
GtkWidget *
GnomePixmap *gpixmap
gnome_pixmap_new_from_imlib
GtkWidget *
GdkImlibImage *im
gnome_pixmap_new_from_imlib_at_size
GtkWidget *
GdkImlibImage *im,int width, int height
gnome_pixmap_load_file
void
GnomePixmap *gpixmap, const char *filename
gnome_pixmap_load_file_at_size
void
GnomePixmap *gpixmap, const char *filename, int width, int height
gnome_pixmap_load_xpm_d
void
GnomePixmap *gpixmap, char **xpm_data
gnome_pixmap_load_xpm_d_at_size
void
GnomePixmap *gpixmap, char **xpm_data, int width, int height
gnome_pixmap_load_rgb_d
void
GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height
gnome_pixmap_load_rgb_d_shaped
void
GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,GdkImlibColor *shape_color
gnome_pixmap_load_rgb_d_shaped_at_size
void
GnomePixmap *gpixmap,unsigned char *data,unsigned char *alpha,int rgb_width, int rgb_height,int width, int height,GdkImlibColor *shape_color
gnome_pixmap_load_rgb_d_at_size
void
GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,int width, int height
gnome_pixmap_load_imlib
void
GnomePixmap *gpixmap,GdkImlibImage *im
gnome_pixmap_load_imlib_at_size
void
GnomePixmap *gpixmap,GdkImlibImage *im,int width, int height
gnome_widget_add_help
#define gnome_widget_add_help(widget, help) \
(gnome_widget_add_help_with_uidata((widget),(help),NULL, NULL))
gnome_widget_add_help_with_uidata
void
GtkWidget *widget,gchar *help,GnomeUIInfo *menuinfo,gpointer user_data
gnome_popup_menu_new
GtkWidget *
GnomeUIInfo *uiinfo
gnome_popup_menu_new_with_accelgroup
GtkWidget *
GnomeUIInfo *uiinfo,GtkAccelGroup *accelgroup
gnome_popup_menu_get_accel_group
GtkAccelGroup *
GtkMenu *menu
gnome_popup_menu_attach
void
GtkWidget *popup, GtkWidget *widget,gpointer user_data
gnome_popup_menu_do_popup
void
GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data,GdkEventButton *event, gpointer user_data
gnome_popup_menu_do_popup_modal
int
GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data,GdkEventButton *event, gpointer user_data
GnomePreferences
GnomePreferences
struct GnomePreferences {
GtkButtonBoxStyle dialog_buttons_style;
int property_box_buttons_ok : 1;
int property_box_buttons_apply : 1;
int property_box_buttons_close : 1;
int property_box_buttons_help : 1;
int statusbar_not_dialog : 1;
int statusbar_is_interactive : 1;
int statusbar_meter_on_right : 1;
int menubar_detachable : 1;
int menubar_relief : 1;
int toolbar_detachable : 1;
int toolbar_relief : 1;
int toolbar_relief_btn : 1;
int toolbar_lines : 1;
int toolbar_labels : 1;
int dialog_centered : 1;
int menus_have_tearoff : 1;
int menus_have_icons : 1;
int disable_imlib_cache : 1;
GtkWindowType dialog_type;
GtkWindowPosition dialog_position;
GnomeMDIMode mdi_mode;
GtkPositionType mdi_tab_pos;
};
gnome_preferences_load
void
void
gnome_preferences_save
void
void
gnome_preferences_load_custom
void
GnomePreferences *settings
gnome_preferences_save_custom
void
GnomePreferences *settings
gnome_preferences_get_button_layout
GtkButtonBoxStyle
void
gnome_preferences_set_button_layout
void
GtkButtonBoxStyle style
gnome_preferences_get_statusbar_dialog
gboolean
void
gnome_preferences_set_statusbar_dialog
void
gboolean statusbar
gnome_preferences_get_statusbar_interactive
gboolean
void
gnome_preferences_set_statusbar_interactive
void
gboolean b
gnome_preferences_get_statusbar_meter_on_right
gboolean
void
gnome_preferences_set_statusbar_meter_on_right
void
gboolean status_meter_on_right
gnome_preferences_get_menubar_detachable
gboolean
void
gnome_preferences_set_menubar_detachable
void
gboolean b
gnome_preferences_get_menubar_relief
gboolean
void
gnome_preferences_set_menubar_relief
void
gboolean b
gnome_preferences_get_toolbar_detachable
gboolean
void
gnome_preferences_set_toolbar_detachable
void
gboolean b
gnome_preferences_get_toolbar_relief
gboolean
void
gnome_preferences_set_toolbar_relief
void
gboolean b
gnome_preferences_get_toolbar_relief_btn
gboolean
void
gnome_preferences_set_toolbar_relief_btn
void
gboolean b
gnome_preferences_get_toolbar_lines
gboolean
void
gnome_preferences_set_toolbar_lines
void
gboolean b
gnome_preferences_get_toolbar_labels
gboolean
void
gnome_preferences_set_toolbar_labels
void
gboolean b
gnome_preferences_get_dialog_centered
gboolean
void
gnome_preferences_set_dialog_centered
void
gboolean b
gnome_preferences_get_dialog_type
GtkWindowType
void
gnome_preferences_set_dialog_type
void
GtkWindowType t
gnome_preferences_get_dialog_position
GtkWindowPosition
void
gnome_preferences_set_dialog_position
void
GtkWindowPosition p
gnome_preferences_get_mdi_mode
GnomeMDIMode
void
gnome_preferences_set_mdi_mode
void
GnomeMDIMode m
gnome_preferences_get_mdi_tab_pos
GtkPositionType
void
gnome_preferences_set_mdi_tab_pos
void
GtkPositionType p
gnome_preferences_get_property_box_apply
int
void
gnome_preferences_set_property_box_button_apply
void
int v
gnome_preferences_get_menus_have_tearoff
gboolean
void
gnome_preferences_set_menus_have_tearoff
void
gboolean b
gnome_preferences_get_menus_have_icons
int
void
gnome_preferences_set_menus_have_icons
void
int have_icons
gnome_preferences_get_disable_imlib_cache
int
void
gnome_preferences_set_disable_imlib_cache
void
int disable_imlib_cache
GNOME_PROC_BAR
#define GNOME_PROC_BAR(obj) GTK_CHECK_CAST (obj, gnome_proc_bar_get_type (), GnomeProcBar)
GNOME_PROC_BAR__CLASS
#define GNOME_PROC_BAR__CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_proc_bar_get_type (), GnomeProcBarClass)
GNOME_IS_PROC_BAR
#define GNOME_IS_PROC_BAR(obj) GTK_CHECK_TYPE (obj, gnome_proc_bar_get_type ())
GnomeProcBar
GnomeProcBarClass
GnomeProcBar
struct GnomeProcBar {
GtkHBox hbox;
GtkWidget *bar;
GtkWidget *label;
GtkWidget *frame;
gboolean vertical : 1;
GdkPixmap *bs;
GdkColor *colors;
gint colors_allocated;
gint first_request;
gint n;
gint tag;
unsigned *last;
gint (*cb)();
gpointer cb_data;
};
gnome_proc_bar_get_type
guint
void
gnome_proc_bar_new
GtkWidget *
GtkWidget *label,gint n, GdkColor *colors,gint (*cb)()
gnome_proc_bar_set_values
void
GnomeProcBar *pb, unsigned val []
gnome_proc_bar_set_orient
void
GnomeProcBar *pb, gboolean vertical
gnome_proc_bar_start
void
GnomeProcBar *pb, gint gtime, gpointer data
gnome_proc_bar_stop
void
GnomeProcBar *pb
gnome_proc_bar_update
void
GnomeProcBar *pb, GdkColor *colors
GnomePropertyObject
GnomePropertyDescriptor
GnomePropertyAction
typedef enum {
GNOME_PROPERTY_ACTION_APPLY = 1,
GNOME_PROPERTY_ACTION_UPDATE,
GNOME_PROPERTY_ACTION_LOAD,
GNOME_PROPERTY_ACTION_SAVE,
GNOME_PROPERTY_ACTION_LOAD_TEMP,
GNOME_PROPERTY_ACTION_SAVE_TEMP,
GNOME_PROPERTY_ACTION_DISCARD_TEMP,
GNOME_PROPERTY_ACTION_CHANGED
} GnomePropertyAction;
GnomePropertyDescriptor
struct GnomePropertyDescriptor {
guint size;
const gchar *label;
GtkWidget * (*init_func) (GnomePropertyObject *);
void (*apply_func) (GnomePropertyObject *);
void (*update_func) (GnomePropertyObject *);
void (*load_func) (GnomePropertyObject *);
void (*save_func) (GnomePropertyObject *);
void (*load_temp_func) (GnomePropertyObject *);
gint (*save_temp_func) (GnomePropertyObject *);
void (*discard_temp_func) (GnomePropertyObject *);
void (*changed_func) (GnomePropertyObject *);
GList *next;
};
GnomePropertyObject
struct GnomePropertyObject {
GtkWidget *label;
GnomePropertyDescriptor *descriptor;
gpointer prop_data, temp_data, user_data;
GList *object_list;
};
gnome_property_object_new
GnomePropertyObject *
GnomePropertyDescriptor *descriptor,gpointer property_data_ptr
gnome_property_object_register
void
GnomePropertyBox *property_box,GnomePropertyObject *object
gnome_property_object_list_walk
void
GList *property_object_list,GnomePropertyAction action
gnome_property_object_apply
void
GnomePropertyObject *object
gnome_property_object_update
void
GnomePropertyObject *object
gnome_property_object_load
void
GnomePropertyObject *object
gnome_property_object_save
void
GnomePropertyObject *object
gnome_property_object_load_temp
void
GnomePropertyObject *object
gnome_property_object_save_temp
void
GnomePropertyObject *object
gnome_property_object_discard_temp
void
GnomePropertyObject *object
gnome_property_object_changed
void
GnomePropertyObject *object
gnome_property_entry_font
GtkWidget *
GnomePropertyObject *object, const gchar *label,gchar **font_name_ptr, GdkFont **font_ptr
gnome_property_entry_colors
GtkWidget *
GnomePropertyObject *object, const gchar *label,gint num_colors, gint columns, gint *table_pos,GdkColor *colors, const gchar *texts []
GNOME_PROPERTY_BOX
#define GNOME_PROPERTY_BOX(Obj) GTK_CHECK_CAST (Obj, gnome_property_box_get_type (), GnomePropertyBox)
GNOME_PROPERTY_BOX_CLASS
#define GNOME_PROPERTY_BOX_CLASS(Klass) GTK_CHECK_CLASS_CAST (Klass, gnome_property_box_get_type (), GnomePropertyBoxClass)
GNOME_IS_PROPERTY_BOX
#define GNOME_IS_PROPERTY_BOX(Obj) GTK_CHECK_TYPE (Obj, gnome_property_box_get_type ())
GNOME_PROPERTY_BOX_DIRTY
#define GNOME_PROPERTY_BOX_DIRTY "gnome_property_box_dirty"
GnomePropertyBox
GnomePropertyBoxClass
GnomePropertyBox
struct GnomePropertyBox
{
GnomeDialog dialog;
GtkWidget *notebook; /* The notebook widget. */
GtkWidget *ok_button; /* OK button. */
GtkWidget *apply_button; /* Apply button. */
GtkWidget *cancel_button; /* Cancel/Close button. */
GtkWidget *help_button; /* Help button. */
};
gnome_property_box_get_type
guint
void
gnome_property_box_new
GtkWidget *
void
gnome_property_box_changed
void
GnomePropertyBox *property_box
gnome_property_box_set_modified
void
GnomePropertyBox *property_box,gboolean state
gnome_property_box_append_page
gint
GnomePropertyBox *property_box,GtkWidget *child,GtkWidget *tab_label
gnome_property_box_set_state
void
GnomePropertyBox *property_box,gboolean state
GNOME_SCORES
#define GNOME_SCORES(obj) GTK_CHECK_CAST (obj, gnome_scores_get_type (), GnomeScores)
GNOME_SCORES_CLASS
#define GNOME_SCORES_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_scores_get_type (), GnomeScoresClass)
GNOME_IS_SCORES
#define GNOME_IS_SCORES(obj) GTK_CHECK_TYPE (obj, gnome_scores_get_type ())
GnomeScores
GnomeScoresClass
GnomeScores
struct GnomeScores
{
GnomeDialog dialog;
GtkWidget *but_clear;
guint n_scores;
GtkWidget *logo;
GtkWidget **label_names;
GtkWidget **label_scores;
GtkWidget **label_times;
};
gnome_scores_get_type
guint
void
gnome_scores_new
GtkWidget *
guint n_scores,gchar **names,gfloat *scores,time_t *times,guint clear
gnome_scores_set_logo_label
void
GnomeScores *gs,gchar *txt,gchar *font,GdkColor *color
gnome_scores_set_logo_pixmap
void
GnomeScores *gs,gchar *logo
gnome_scores_set_logo_widget
void
GnomeScores *gs,GtkWidget *w
gnome_scores_set_color
void
GnomeScores *gs,guint pos,GdkColor *col
gnome_scores_set_def_color
void
GnomeScores *gs,GdkColor *col
gnome_scores_set_colors
void
GnomeScores *gs,GdkColor *col
gnome_scores_set_logo_label_title
void
GnomeScores *gs,gchar *txt
gnome_scores_set_current_player
void
GnomeScores *gs,gint i
GNOME_SPELL
#define GNOME_SPELL(obj) GTK_CHECK_CAST(obj, gnome_spell_get_type(), GnomeSpell)
GNOME_SPELL_CLASS
#define GNOME_SPELL_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, gnome_spell_get_type(), GnomeSpelliClass)
GNOME_IS_SPELL
#define GNOME_IS_SPELL(obj) GTK_CHECK_TYPE(obj, gnome_spell_get_type())
GnomeSpell
GnomeSpellClass
GnomeSpellInfo
GnomeSpellInfo
struct GnomeSpellInfo {
gchar* original;
gchar* replacement;
gchar* word;
guint offset;
GSList * words;
};
GnomeSpell
struct GnomeSpell {
GtkVBox vbox;
GSList * spellinfo;
GtkWidget* page_spell;
GtkWidget* page_config;
GtkWidget* word;
GtkWidget* list;
GtkWidget* b_accept;
GtkWidget* b_skip;
GtkWidget* b_replace;
GtkWidget* b_insert;
GtkWidget* b_insertl;
GtkWidget* command;
GtkWidget* dict;
GtkWidget* pdict;
GtkWidget* wchars;
GtkWidget* wlen;
GtkWidget* sort;
GtkWidget* runtog;
GtkWidget* discard;
GtkWidget* tooltip;
GtkWidget* killproc;
GtkTooltips* tooltips;
GSList* awords;
FILE* rispell;
FILE* wispell;
pid_t spell_pid;
};
gnome_spell_get_type
guint
void
gnome_spell_new
GtkWidget *
void
gnome_spell_check
gint
GnomeSpell* gtkspell, gchar* str
gnome_spell_accept
void
GnomeSpell* gtkspell, gchar* word
gnome_spell_insert
void
GnomeSpell* gtkspell, gchar* word, gint lowercase
gnome_spell_next
int
GnomeSpell* gtkspell
gnome_spell_kill
void
GnomeSpell* gtkspell
gnome_startup_acquire_token
gboolean
const gchar *property_name,const gchar *sm_id
USE_NEW_GNOME_STOCK
#define USE_NEW_GNOME_STOCK 1
GNOME_STOCK_PIXMAP_NEW
#define GNOME_STOCK_PIXMAP_NEW "New"
GNOME_STOCK_PIXMAP_OPEN
#define GNOME_STOCK_PIXMAP_OPEN "Open"
GNOME_STOCK_PIXMAP_CLOSE
#define GNOME_STOCK_PIXMAP_CLOSE "Close"
GNOME_STOCK_PIXMAP_REVERT
#define GNOME_STOCK_PIXMAP_REVERT "Revert"
GNOME_STOCK_PIXMAP_SAVE
#define GNOME_STOCK_PIXMAP_SAVE "Save"
GNOME_STOCK_PIXMAP_SAVE_AS
#define GNOME_STOCK_PIXMAP_SAVE_AS "Save As"
GNOME_STOCK_PIXMAP_CUT
#define GNOME_STOCK_PIXMAP_CUT "Cut"
GNOME_STOCK_PIXMAP_COPY
#define GNOME_STOCK_PIXMAP_COPY "Copy"
GNOME_STOCK_PIXMAP_PASTE
#define GNOME_STOCK_PIXMAP_PASTE "Paste"
GNOME_STOCK_PIXMAP_CLEAR
#define GNOME_STOCK_PIXMAP_CLEAR "Clear"
GNOME_STOCK_PIXMAP_PROPERTIES
#define GNOME_STOCK_PIXMAP_PROPERTIES "Properties"
GNOME_STOCK_PIXMAP_PREFERENCES
#define GNOME_STOCK_PIXMAP_PREFERENCES "Preferences"
GNOME_STOCK_PIXMAP_HELP
#define GNOME_STOCK_PIXMAP_HELP "Help"
GNOME_STOCK_PIXMAP_SCORES
#define GNOME_STOCK_PIXMAP_SCORES "Scores"
GNOME_STOCK_PIXMAP_PRINT
#define GNOME_STOCK_PIXMAP_PRINT "Print"
GNOME_STOCK_PIXMAP_SEARCH
#define GNOME_STOCK_PIXMAP_SEARCH "Search"
GNOME_STOCK_PIXMAP_SRCHRPL
#define GNOME_STOCK_PIXMAP_SRCHRPL "Search/Replace"
GNOME_STOCK_PIXMAP_BACK
#define GNOME_STOCK_PIXMAP_BACK "Back"
GNOME_STOCK_PIXMAP_FORWARD
#define GNOME_STOCK_PIXMAP_FORWARD "Forward"
GNOME_STOCK_PIXMAP_FIRST
#define GNOME_STOCK_PIXMAP_FIRST "First"
GNOME_STOCK_PIXMAP_LAST
#define GNOME_STOCK_PIXMAP_LAST "Last"
GNOME_STOCK_PIXMAP_HOME
#define GNOME_STOCK_PIXMAP_HOME "Home"
GNOME_STOCK_PIXMAP_STOP
#define GNOME_STOCK_PIXMAP_STOP "Stop"
GNOME_STOCK_PIXMAP_REFRESH
#define GNOME_STOCK_PIXMAP_REFRESH "Refresh"
GNOME_STOCK_PIXMAP_UNDO
#define GNOME_STOCK_PIXMAP_UNDO "Undo"
GNOME_STOCK_PIXMAP_REDO
#define GNOME_STOCK_PIXMAP_REDO "Redo"
GNOME_STOCK_PIXMAP_TIMER
#define GNOME_STOCK_PIXMAP_TIMER "Timer"
GNOME_STOCK_PIXMAP_TIMER_STOP
#define GNOME_STOCK_PIXMAP_TIMER_STOP "Timer Stopped"
GNOME_STOCK_PIXMAP_MAIL
#define GNOME_STOCK_PIXMAP_MAIL "Mail"
GNOME_STOCK_PIXMAP_MAIL_RCV
#define GNOME_STOCK_PIXMAP_MAIL_RCV "Receive Mail"
GNOME_STOCK_PIXMAP_MAIL_SND
#define GNOME_STOCK_PIXMAP_MAIL_SND "Send Mail"
GNOME_STOCK_PIXMAP_MAIL_RPL
#define GNOME_STOCK_PIXMAP_MAIL_RPL "Reply to Mail"
GNOME_STOCK_PIXMAP_MAIL_FWD
#define GNOME_STOCK_PIXMAP_MAIL_FWD "Forward Mail"
GNOME_STOCK_PIXMAP_MAIL_NEW
#define GNOME_STOCK_PIXMAP_MAIL_NEW "New Mail"
GNOME_STOCK_PIXMAP_TRASH
#define GNOME_STOCK_PIXMAP_TRASH "Trash"
GNOME_STOCK_PIXMAP_TRASH_FULL
#define GNOME_STOCK_PIXMAP_TRASH_FULL "Trash Full"
GNOME_STOCK_PIXMAP_UNDELETE
#define GNOME_STOCK_PIXMAP_UNDELETE "Undelete"
GNOME_STOCK_PIXMAP_SPELLCHECK
#define GNOME_STOCK_PIXMAP_SPELLCHECK "Spellchecker"
GNOME_STOCK_PIXMAP_MIC
#define GNOME_STOCK_PIXMAP_MIC "Microphone"
GNOME_STOCK_PIXMAP_LINE_IN
#define GNOME_STOCK_PIXMAP_LINE_IN "Line In"
GNOME_STOCK_PIXMAP_CDROM
#define GNOME_STOCK_PIXMAP_CDROM "Cdrom"
GNOME_STOCK_PIXMAP_VOLUME
#define GNOME_STOCK_PIXMAP_VOLUME "Volume"
GNOME_STOCK_PIXMAP_MIDI
#define GNOME_STOCK_PIXMAP_MIDI "Midi"
GNOME_STOCK_PIXMAP_BOOK_RED
#define GNOME_STOCK_PIXMAP_BOOK_RED "Book Red"
GNOME_STOCK_PIXMAP_BOOK_GREEN
#define GNOME_STOCK_PIXMAP_BOOK_GREEN "Book Green"
GNOME_STOCK_PIXMAP_BOOK_BLUE
#define GNOME_STOCK_PIXMAP_BOOK_BLUE "Book Blue"
GNOME_STOCK_PIXMAP_BOOK_YELLOW
#define GNOME_STOCK_PIXMAP_BOOK_YELLOW "Book Yellow"
GNOME_STOCK_PIXMAP_BOOK_OPEN
#define GNOME_STOCK_PIXMAP_BOOK_OPEN "Book Open"
GNOME_STOCK_PIXMAP_ABOUT
#define GNOME_STOCK_PIXMAP_ABOUT "About"
GNOME_STOCK_PIXMAP_QUIT
#define GNOME_STOCK_PIXMAP_QUIT "Quit"
GNOME_STOCK_PIXMAP_MULTIPLE
#define GNOME_STOCK_PIXMAP_MULTIPLE "Multiple"
GNOME_STOCK_PIXMAP_NOT
#define GNOME_STOCK_PIXMAP_NOT "Not"
GNOME_STOCK_PIXMAP_CONVERT
#define GNOME_STOCK_PIXMAP_CONVERT "Convert"
GNOME_STOCK_PIXMAP_JUMP_TO
#define GNOME_STOCK_PIXMAP_JUMP_TO "Jump To"
GNOME_STOCK_PIXMAP_UP
#define GNOME_STOCK_PIXMAP_UP "Up"
GNOME_STOCK_PIXMAP_DOWN
#define GNOME_STOCK_PIXMAP_DOWN "Down"
GNOME_STOCK_PIXMAP_TOP
#define GNOME_STOCK_PIXMAP_TOP "Top"
GNOME_STOCK_PIXMAP_BOTTOM
#define GNOME_STOCK_PIXMAP_BOTTOM "Bottom"
GNOME_STOCK_PIXMAP_ATTACH
#define GNOME_STOCK_PIXMAP_ATTACH "Attach"
GNOME_STOCK_PIXMAP_INDEX
#define GNOME_STOCK_PIXMAP_INDEX "Index"
GNOME_STOCK_PIXMAP_FONT
#define GNOME_STOCK_PIXMAP_FONT "Font"
GNOME_STOCK_PIXMAP_EXEC
#define GNOME_STOCK_PIXMAP_EXEC "Exec"
GNOME_STOCK_PIXMAP_ALIGN_LEFT
#define GNOME_STOCK_PIXMAP_ALIGN_LEFT "Left"
GNOME_STOCK_PIXMAP_ALIGN_RIGHT
#define GNOME_STOCK_PIXMAP_ALIGN_RIGHT "Right"
GNOME_STOCK_PIXMAP_ALIGN_CENTER
#define GNOME_STOCK_PIXMAP_ALIGN_CENTER "Center"
GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY
#define GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY "Justify"
GNOME_STOCK_PIXMAP_TEXT_BOLD
#define GNOME_STOCK_PIXMAP_TEXT_BOLD "Bold"
GNOME_STOCK_PIXMAP_TEXT_ITALIC
#define GNOME_STOCK_PIXMAP_TEXT_ITALIC "Italic"
GNOME_STOCK_PIXMAP_TEXT_UNDERLINE
#define GNOME_STOCK_PIXMAP_TEXT_UNDERLINE "Underline"
GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT
#define GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT "Strikeout"
GNOME_STOCK_PIXMAP_TEXT_INDENT
#define GNOME_STOCK_PIXMAP_TEXT_INDENT "Text Indent"
GNOME_STOCK_PIXMAP_TEXT_UNINDENT
#define GNOME_STOCK_PIXMAP_TEXT_UNINDENT "Text Unindent"
GNOME_STOCK_PIXMAP_EXIT
#define GNOME_STOCK_PIXMAP_EXIT GNOME_STOCK_PIXMAP_QUIT
GNOME_STOCK_PIXMAP_COLORSELECTOR
#define GNOME_STOCK_PIXMAP_COLORSELECTOR "Color Select"
GNOME_STOCK_PIXMAP_ADD
#define GNOME_STOCK_PIXMAP_ADD "Add"
GNOME_STOCK_PIXMAP_REMOVE
#define GNOME_STOCK_PIXMAP_REMOVE "Remove"
GNOME_STOCK_PIXMAP_TABLE_BORDERS
#define GNOME_STOCK_PIXMAP_TABLE_BORDERS "Table Borders"
GNOME_STOCK_PIXMAP_TABLE_FILL
#define GNOME_STOCK_PIXMAP_TABLE_FILL "Table Fill"
GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST
#define GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST "Text Bulleted List"
GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST
#define GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST "Text Numbered List"
GNOME_STOCK_PIXMAP_REGULAR
#define GNOME_STOCK_PIXMAP_REGULAR "regular"
GNOME_STOCK_PIXMAP_DISABLED
#define GNOME_STOCK_PIXMAP_DISABLED "disabled"
GNOME_STOCK_PIXMAP_FOCUSED
#define GNOME_STOCK_PIXMAP_FOCUSED "focused"
GnomeStockPixmapEntryAny
GnomeStockPixmapEntryData
GnomeStockPixmapEntryFile
GnomeStockPixmapEntryPath
GnomeStockPixmapEntryWidget
GnomeStockPixmapEntryGPixmap
GnomeStockPixmapType
typedef enum {
GNOME_STOCK_PIXMAP_TYPE_NONE,
GNOME_STOCK_PIXMAP_TYPE_DATA,
GNOME_STOCK_PIXMAP_TYPE_FILE,
GNOME_STOCK_PIXMAP_TYPE_PATH,
GNOME_STOCK_PIXMAP_TYPE_WIDGET,
GNOME_STOCK_PIXMAP_TYPE_IMLIB,
GNOME_STOCK_PIXMAP_TYPE_IMLIB_SCALED,
GNOME_STOCK_PIXMAP_TYPE_GPIXMAP
} GnomeStockPixmapType;
GnomeStockPixmapEntryData
struct GnomeStockPixmapEntryData {
GnomeStockPixmapType type;
int width, height;
char *label;
gchar **xpm_data;
};
GnomeStockPixmapEntryImlib
GnomeStockPixmapEntryImlib
struct GnomeStockPixmapEntryImlib {
GnomeStockPixmapType type;
int width, height;
char *label;
const gchar *rgb_data;
GdkImlibColor shape;
};
GnomeStockPixmapEntryImlibScaled
GnomeStockPixmapEntryImlibScaled
struct GnomeStockPixmapEntryImlibScaled {
GnomeStockPixmapType type;
int width, height;
char *label;
const gchar *rgb_data;
GdkImlibColor shape;
int scaled_width, scaled_height;
};
GnomeStockPixmapEntryFile
struct GnomeStockPixmapEntryFile {
GnomeStockPixmapType type;
int width, height;
char *label;
gchar *filename;
};
GnomeStockPixmapEntryPath
struct GnomeStockPixmapEntryPath {
GnomeStockPixmapType type;
int width, height;
char *label;
gchar *pathname;
};
GnomeStockPixmapEntryWidget
struct GnomeStockPixmapEntryWidget {
GnomeStockPixmapType type;
int width, height;
char *label;
GtkWidget *widget;
};
GnomeStockPixmapEntryGPixmap
struct GnomeStockPixmapEntryGPixmap {
GnomeStockPixmapType type;
int width, height;
char *label;
GnomePixmap *pixmap;
};
GnomeStockPixmapEntryAny
struct GnomeStockPixmapEntryAny {
GnomeStockPixmapType type;
int width, height;
char *label;
};
GnomeStockPixmapEntry
union GnomeStockPixmapEntry {
GnomeStockPixmapType type;
GnomeStockPixmapEntryAny any;
GnomeStockPixmapEntryData data;
GnomeStockPixmapEntryFile file;
GnomeStockPixmapEntryPath path;
GnomeStockPixmapEntryWidget widget;
GnomeStockPixmapEntryImlib imlib;
GnomeStockPixmapEntryImlibScaled imlib_s;
GnomeStockPixmapEntryGPixmap gpixmap;
};
GNOME_STOCK_PIXMAP_WIDGET
#define GNOME_STOCK_PIXMAP_WIDGET(obj) GTK_CHECK_CAST(obj, gnome_stock_pixmap_widget_get_type(), GnomeStockPixmapWidget)
GNOME_STOCK_PIXMAP_WIDGET_CLASS
#define GNOME_STOCK_PIXMAP_WIDGET_CLASS(klass) GTK_CHECK_CAST_CLASS(obj, gnome_stock_pixmap_widget_get_type(), GnomeStockPixmapWidget)
GNOME_IS_STOCK_PIXMAP_WIDGET
#define GNOME_IS_STOCK_PIXMAP_WIDGET(obj) GTK_CHECK_TYPE(obj, gnome_stock_pixmap_widget_get_type())
GnomeStockPixmapWidget
GnomeStockPixmapWidgetClass
GnomeStockPixmapWidget
struct GnomeStockPixmapWidget {
GtkVBox parent_object;
char *icon;
int width, height; /* needed to answer size_requests even before
* a pixmap is loaded/created */
GtkWidget *window; /* needed for style and gdk_pixmap_create... */
GnomePixmap *pixmap; /* the pixmap currently shown */
GnomePixmap *regular, *disabled, *focused; /* pixmap cache */
};
gnome_stock_pixmap_widget_get_type
guint
void
gnome_stock_pixmap_widget_new
GtkWidget *
GtkWidget *window, const char *icon
GNOME_STOCK_PIXMAP_WIDGET
#define GNOME_STOCK_PIXMAP_WIDGET GNOME_STOCK
GNOME_IS_STOCK_PIXMAP_WIDGET
#define GNOME_IS_STOCK_PIXMAP_WIDGET GNOME_IS_STOCK
gnome_stock_pixmap_widget_new
GtkWidget *
GtkWidget *window, const char *icon
GNOME_STOCK
#define GNOME_STOCK(obj) GTK_CHECK_CAST(obj, gnome_stock_get_type(), GnomeStock)
GNOME_STOCK_CLASS
#define GNOME_STOCK_CLASS(klass) GTK_CHECK_CAST_CLASS(obj, gnome_stock_get_type(), GnomeStock)
GNOME_IS_STOCK
#define GNOME_IS_STOCK(obj) GTK_CHECK_TYPE(obj, gnome_stock_get_type())
GnomeStock
GnomeStockClass
GnomeStock
struct GnomeStock {
GnomePixmap pixmap;
GnomePixmap *regular, *disabled, *focused; /* pixmap cache */
GnomePixmap *current;
char *icon;
guint32 c_regular, c_disabled, c_focused;
};
gnome_stock_get_type
guint
void
gnome_stock_new
GtkWidget *
void
gnome_stock_new_with_icon
GtkWidget *
const char *icon
gnome_stock_set_icon
gboolean
GnomeStock *stock, const char *icon
gnome_stock_pixmap
GnomePixmap *
GtkWidget *window,const char *icon,const char *subtype
gnome_stock_pixmap_widget
GtkWidget *
GtkWidget *window,const char *icon
gnome_stock_pixmap_widget_at_size
GtkWidget *
GtkWidget *window,const char *icon,guint width,guint height
gnome_stock_pixmap_widget_set_icon
void
GnomeStock *widget,const char *icon
gnome_stock_pixmap_widget_set_icon
void
GnomeStockPixmapWidget *widget,const char *icon
gnome_stock_pixmap_register
gint
const char *icon,const char *subtype,GnomeStockPixmapEntry *entry
gnome_stock_pixmap_change
gint
const char *icon,const char *subtype,GnomeStockPixmapEntry *entry
gnome_stock_pixmap_checkfor
GnomeStockPixmapEntry *
const char *icon,const char *subtype
gnome_pixmap_button
GtkWidget *
GtkWidget *pixmap,const char *text
gnome_button_can_default
void
GtkButton *button,gboolean can_default
GNOME_STOCK_BUTTON_OK
#define GNOME_STOCK_BUTTON_OK "Button_Ok"
GNOME_STOCK_BUTTON_CANCEL
#define GNOME_STOCK_BUTTON_CANCEL "Button_Cancel"
GNOME_STOCK_BUTTON_YES
#define GNOME_STOCK_BUTTON_YES "Button_Yes"
GNOME_STOCK_BUTTON_NO
#define GNOME_STOCK_BUTTON_NO "Button_No"
GNOME_STOCK_BUTTON_CLOSE
#define GNOME_STOCK_BUTTON_CLOSE "Button_Close"
GNOME_STOCK_BUTTON_APPLY
#define GNOME_STOCK_BUTTON_APPLY "Button_Apply"
GNOME_STOCK_BUTTON_HELP
#define GNOME_STOCK_BUTTON_HELP "Button_Help"
GNOME_STOCK_BUTTON_NEXT
#define GNOME_STOCK_BUTTON_NEXT "Button_Next"
GNOME_STOCK_BUTTON_PREV
#define GNOME_STOCK_BUTTON_PREV "Button_Prev"
GNOME_STOCK_BUTTON_UP
#define GNOME_STOCK_BUTTON_UP "Button_Up"
GNOME_STOCK_BUTTON_DOWN
#define GNOME_STOCK_BUTTON_DOWN "Button_Down"
GNOME_STOCK_BUTTON_FONT
#define GNOME_STOCK_BUTTON_FONT "Button_Font"
gnome_stock_button
GtkWidget *
const char *type
gnome_stock_or_ordinary_button
GtkWidget *
const char *type
GNOME_STOCK_MENU_BLANK
#define GNOME_STOCK_MENU_BLANK "Menu_"
GNOME_STOCK_MENU_NEW
#define GNOME_STOCK_MENU_NEW "Menu_New"
GNOME_STOCK_MENU_SAVE
#define GNOME_STOCK_MENU_SAVE "Menu_Save"
GNOME_STOCK_MENU_SAVE_AS
#define GNOME_STOCK_MENU_SAVE_AS "Menu_Save As"
GNOME_STOCK_MENU_REVERT
#define GNOME_STOCK_MENU_REVERT "Menu_Revert"
GNOME_STOCK_MENU_OPEN
#define GNOME_STOCK_MENU_OPEN "Menu_Open"
GNOME_STOCK_MENU_CLOSE
#define GNOME_STOCK_MENU_CLOSE "Menu_Close"
GNOME_STOCK_MENU_QUIT
#define GNOME_STOCK_MENU_QUIT "Menu_Quit"
GNOME_STOCK_MENU_CUT
#define GNOME_STOCK_MENU_CUT "Menu_Cut"
GNOME_STOCK_MENU_COPY
#define GNOME_STOCK_MENU_COPY "Menu_Copy"
GNOME_STOCK_MENU_PASTE
#define GNOME_STOCK_MENU_PASTE "Menu_Paste"
GNOME_STOCK_MENU_PROP
#define GNOME_STOCK_MENU_PROP "Menu_Properties"
GNOME_STOCK_MENU_PREF
#define GNOME_STOCK_MENU_PREF "Menu_Preferences"
GNOME_STOCK_MENU_ABOUT
#define GNOME_STOCK_MENU_ABOUT "Menu_About"
GNOME_STOCK_MENU_SCORES
#define GNOME_STOCK_MENU_SCORES "Menu_Scores"
GNOME_STOCK_MENU_UNDO
#define GNOME_STOCK_MENU_UNDO "Menu_Undo"
GNOME_STOCK_MENU_REDO
#define GNOME_STOCK_MENU_REDO "Menu_Redo"
GNOME_STOCK_MENU_PRINT
#define GNOME_STOCK_MENU_PRINT "Menu_Print"
GNOME_STOCK_MENU_SEARCH
#define GNOME_STOCK_MENU_SEARCH "Menu_Search"
GNOME_STOCK_MENU_SRCHRPL
#define GNOME_STOCK_MENU_SRCHRPL "Menu_Search/Replace"
GNOME_STOCK_MENU_BACK
#define GNOME_STOCK_MENU_BACK "Menu_Back"
GNOME_STOCK_MENU_FORWARD
#define GNOME_STOCK_MENU_FORWARD "Menu_Forward"
GNOME_STOCK_MENU_FIRST
#define GNOME_STOCK_MENU_FIRST "Menu_First"
GNOME_STOCK_MENU_LAST
#define GNOME_STOCK_MENU_LAST "Menu_Last"
GNOME_STOCK_MENU_HOME
#define GNOME_STOCK_MENU_HOME "Menu_Home"
GNOME_STOCK_MENU_STOP
#define GNOME_STOCK_MENU_STOP "Menu_Stop"
GNOME_STOCK_MENU_REFRESH
#define GNOME_STOCK_MENU_REFRESH "Menu_Refresh"
GNOME_STOCK_MENU_MAIL
#define GNOME_STOCK_MENU_MAIL "Menu_Mail"
GNOME_STOCK_MENU_MAIL_RCV
#define GNOME_STOCK_MENU_MAIL_RCV "Menu_Receive Mail"
GNOME_STOCK_MENU_MAIL_SND
#define GNOME_STOCK_MENU_MAIL_SND "Menu_Send Mail"
GNOME_STOCK_MENU_MAIL_RPL
#define GNOME_STOCK_MENU_MAIL_RPL "Menu_Reply to Mail"
GNOME_STOCK_MENU_MAIL_FWD
#define GNOME_STOCK_MENU_MAIL_FWD "Menu_Forward Mail"
GNOME_STOCK_MENU_MAIL_NEW
#define GNOME_STOCK_MENU_MAIL_NEW "Menu_New Mail"
GNOME_STOCK_MENU_TRASH
#define GNOME_STOCK_MENU_TRASH "Menu_Trash"
GNOME_STOCK_MENU_TRASH_FULL
#define GNOME_STOCK_MENU_TRASH_FULL "Menu_Trash Full"
GNOME_STOCK_MENU_UNDELETE
#define GNOME_STOCK_MENU_UNDELETE "Menu_Undelete"
GNOME_STOCK_MENU_TIMER
#define GNOME_STOCK_MENU_TIMER "Menu_Timer"
GNOME_STOCK_MENU_TIMER_STOP
#define GNOME_STOCK_MENU_TIMER_STOP "Menu_Timer Stopped"
GNOME_STOCK_MENU_SPELLCHECK
#define GNOME_STOCK_MENU_SPELLCHECK "Menu_Spellchecker"
GNOME_STOCK_MENU_MIC
#define GNOME_STOCK_MENU_MIC "Menu_Microphone"
GNOME_STOCK_MENU_LINE_IN
#define GNOME_STOCK_MENU_LINE_IN "Menu_Line In"
GNOME_STOCK_MENU_CDROM
#define GNOME_STOCK_MENU_CDROM "Menu_Cdrom"
GNOME_STOCK_MENU_VOLUME
#define GNOME_STOCK_MENU_VOLUME "Menu_Volume"
GNOME_STOCK_MENU_MIDI
#define GNOME_STOCK_MENU_MIDI "Menu_Midi"
GNOME_STOCK_MENU_BOOK_RED
#define GNOME_STOCK_MENU_BOOK_RED "Menu_Book Red"
GNOME_STOCK_MENU_BOOK_GREEN
#define GNOME_STOCK_MENU_BOOK_GREEN "Menu_Book Green"
GNOME_STOCK_MENU_BOOK_BLUE
#define GNOME_STOCK_MENU_BOOK_BLUE "Menu_Book Blue"
GNOME_STOCK_MENU_BOOK_YELLOW
#define GNOME_STOCK_MENU_BOOK_YELLOW "Menu_Book Yellow"
GNOME_STOCK_MENU_BOOK_OPEN
#define GNOME_STOCK_MENU_BOOK_OPEN "Menu_Book Open"
GNOME_STOCK_MENU_CONVERT
#define GNOME_STOCK_MENU_CONVERT "Menu_Convert"
GNOME_STOCK_MENU_JUMP_TO
#define GNOME_STOCK_MENU_JUMP_TO "Menu_Jump To"
GNOME_STOCK_MENU_UP
#define GNOME_STOCK_MENU_UP "Menu_Up"
GNOME_STOCK_MENU_DOWN
#define GNOME_STOCK_MENU_DOWN "Menu_Down"
GNOME_STOCK_MENU_TOP
#define GNOME_STOCK_MENU_TOP "Menu_Top"
GNOME_STOCK_MENU_BOTTOM
#define GNOME_STOCK_MENU_BOTTOM "Menu_Bottom"
GNOME_STOCK_MENU_ATTACH
#define GNOME_STOCK_MENU_ATTACH "Menu_Attach"
GNOME_STOCK_MENU_INDEX
#define GNOME_STOCK_MENU_INDEX "Menu_Index"
GNOME_STOCK_MENU_FONT
#define GNOME_STOCK_MENU_FONT "Menu_Font"
GNOME_STOCK_MENU_EXEC
#define GNOME_STOCK_MENU_EXEC "Menu_Exec"
GNOME_STOCK_MENU_ALIGN_LEFT
#define GNOME_STOCK_MENU_ALIGN_LEFT "Menu_Left"
GNOME_STOCK_MENU_ALIGN_RIGHT
#define GNOME_STOCK_MENU_ALIGN_RIGHT "Menu_Right"
GNOME_STOCK_MENU_ALIGN_CENTER
#define GNOME_STOCK_MENU_ALIGN_CENTER "Menu_Center"
GNOME_STOCK_MENU_ALIGN_JUSTIFY
#define GNOME_STOCK_MENU_ALIGN_JUSTIFY "Menu_Justify"
GNOME_STOCK_MENU_TEXT_BOLD
#define GNOME_STOCK_MENU_TEXT_BOLD "Menu_Bold"
GNOME_STOCK_MENU_TEXT_ITALIC
#define GNOME_STOCK_MENU_TEXT_ITALIC "Menu_Italic"
GNOME_STOCK_MENU_TEXT_UNDERLINE
#define GNOME_STOCK_MENU_TEXT_UNDERLINE "Menu_Underline"
GNOME_STOCK_MENU_TEXT_STRIKEOUT
#define GNOME_STOCK_MENU_TEXT_STRIKEOUT "Menu_Strikeout"
GNOME_STOCK_MENU_EXIT
#define GNOME_STOCK_MENU_EXIT GNOME_STOCK_MENU_QUIT
gnome_stock_menu_item
GtkWidget *
const char *type,const char *text
gnome_stock_menu_accel
gboolean
const char *type,guchar *key,guint8 *mod
gnome_stock_menu_accel_parse
void
const char *section
gnome_stock_transparent_window
GtkWidget *
const char *icon, const char *subtype
gnome_stock_pixmap_gdk
void
const char *icon,const char *subtype,GdkPixmap **pixmap,GdkPixmap **mask
GnomeStringCallback
void
gchar * string, gpointer data
GnomeReplyCallback
void
gint reply, gpointer data
GnomePreferencesType
typedef enum {
GNOME_PREFERENCES_NEVER,
GNOME_PREFERENCES_USER,
GNOME_PREFERENCES_ALWAYS
} GnomePreferencesType;
GNOME_PAD
#define GNOME_PAD 8
GNOME_PAD_SMALL
#define GNOME_PAD_SMALL 4
GNOME_PAD_BIG
#define GNOME_PAD_BIG 12
GNOME_YES
#define GNOME_YES 0
GNOME_NO
#define GNOME_NO 1
GNOME_OK
#define GNOME_OK 0
GNOME_CANCEL
#define GNOME_CANCEL 1
GNOME_KEY_NAME_EXIT
#define GNOME_KEY_NAME_EXIT 'Q'
GNOME_KEY_MOD_EXIT
#define GNOME_KEY_MOD_EXIT (GDK_CONTROL_MASK)
GNOME_KEY_NAME_CLOSE
#define GNOME_KEY_NAME_CLOSE 'W'
GNOME_KEY_MOD_CLOSE
#define GNOME_KEY_MOD_CLOSE (GDK_CONTROL_MASK)
GNOME_KEY_NAME_CUT
#define GNOME_KEY_NAME_CUT 'X'
GNOME_KEY_MOD_CUT
#define GNOME_KEY_MOD_CUT (GDK_CONTROL_MASK)
GNOME_KEY_NAME_COPY
#define GNOME_KEY_NAME_COPY 'C'
GNOME_KEY_MOD_COPY
#define GNOME_KEY_MOD_COPY (GDK_CONTROL_MASK)
GNOME_KEY_NAME_PASTE
#define GNOME_KEY_NAME_PASTE 'V'
GNOME_KEY_MOD_PASTE
#define GNOME_KEY_MOD_PASTE (GDK_CONTROL_MASK)
GNOME_KEY_NAME_SELECT_ALL
#define GNOME_KEY_NAME_SELECT_ALL 0
GNOME_KEY_MOD_SELECT_ALL
#define GNOME_KEY_MOD_SELECT_ALL (0)
GNOME_KEY_NAME_CLEAR
#define GNOME_KEY_NAME_CLEAR 0
GNOME_KEY_MOD_CLEAR
#define GNOME_KEY_MOD_CLEAR (0)
GNOME_KEY_NAME_UNDO
#define GNOME_KEY_NAME_UNDO 'Z'
GNOME_KEY_MOD_UNDO
#define GNOME_KEY_MOD_UNDO (GDK_CONTROL_MASK)
GNOME_KEY_NAME_REDO
#define GNOME_KEY_NAME_REDO 'R'
GNOME_KEY_MOD_REDO
#define GNOME_KEY_MOD_REDO (GDK_CONTROL_MASK)
GNOME_KEY_NAME_SAVE
#define GNOME_KEY_NAME_SAVE 'S'
GNOME_KEY_MOD_SAVE
#define GNOME_KEY_MOD_SAVE (GDK_CONTROL_MASK)
GNOME_KEY_NAME_OPEN
#define GNOME_KEY_NAME_OPEN GDK_F3
GNOME_KEY_MOD_OPEN
#define GNOME_KEY_MOD_OPEN (0)
GNOME_KEY_NAME_SAVE_AS
#define GNOME_KEY_NAME_SAVE_AS 0
GNOME_KEY_MOD_SAVE_AS
#define GNOME_KEY_MOD_SAVE_AS (0)
GNOME_KEY_NAME_NEW
#define GNOME_KEY_NAME_NEW 0
GNOME_KEY_MOD_NEW
#define GNOME_KEY_MOD_NEW (0)
GNOME_KEY_NAME_PRINT
#define GNOME_KEY_NAME_PRINT 0
GNOME_KEY_MOD_PRINT
#define GNOME_KEY_MOD_PRINT (0)
GNOME_KEY_NAME_PRINT_SETUP
#define GNOME_KEY_NAME_PRINT_SETUP 0
GNOME_KEY_MOD_PRINT_SETUP
#define GNOME_KEY_MOD_PRINT_SETUP (0)
GNOME_KEY_NAME_FIND
#define GNOME_KEY_NAME_FIND GDK_F6
GNOME_KEY_MOD_FIND
#define GNOME_KEY_MOD_FIND (0)
GNOME_KEY_NAME_FIND_AGAIN
#define GNOME_KEY_NAME_FIND_AGAIN GDK_F6
GNOME_KEY_MOD_FIND_AGAIN
#define GNOME_KEY_MOD_FIND_AGAIN (GDK_SHIFT_MASK)
GNOME_KEY_NAME_REPLACE
#define GNOME_KEY_NAME_REPLACE GDK_F7
GNOME_KEY_MOD_REPLACE
#define GNOME_KEY_MOD_REPLACE (0)
GNOME_KEY_NAME_NEW_WINDOW
#define GNOME_KEY_NAME_NEW_WINDOW 0
GNOME_KEY_MOD_NEW_WINDOW
#define GNOME_KEY_MOD_NEW_WINDOW (0)
GNOME_KEY_NAME_CLOSE_WINDOW
#define GNOME_KEY_NAME_CLOSE_WINDOW 0
GNOME_KEY_MOD_CLOSE_WINDOW
#define GNOME_KEY_MOD_CLOSE_WINDOW (0)
GNOME_KEY_NAME_REDO_MOVE
#define GNOME_KEY_NAME_REDO_MOVE 'R'
GNOME_KEY_MOD_REDO_MOVE
#define GNOME_KEY_MOD_REDO_MOVE (GDK_CONTROL_MASK)
GNOME_KEY_NAME_UNDO_MOVE
#define GNOME_KEY_NAME_UNDO_MOVE 'Z'
GNOME_KEY_MOD_UNDO_MOVE
#define GNOME_KEY_MOD_UNDO_MOVE (GDK_CONTROL_MASK)
GNOME_KEY_NAME_PAUSE_GAME
#define GNOME_KEY_NAME_PAUSE_GAME 0
GNOME_KEY_MOD_PAUSE_GAME
#define GNOME_KEY_MOD_PAUSE_GAME (0)
GNOME_KEY_NAME_NEW_GAME
#define GNOME_KEY_NAME_NEW_GAME 'N'
GNOME_KEY_MOD_NEW_GAME
#define GNOME_KEY_MOD_NEW_GAME (GDK_CONTROL_MASK)
XA_WIN_PROTOCOLS
#define XA_WIN_PROTOCOLS "_WIN_PROTOCOLS"
XA_WIN_ICONS
#define XA_WIN_ICONS "_WIN_ICONS"
XA_WIN_WORKSPACE
#define XA_WIN_WORKSPACE "_WIN_WORKSPACE"
XA_WIN_WORKSPACE_COUNT
#define XA_WIN_WORKSPACE_COUNT "_WIN_WORKSPACE_COUNT"
XA_WIN_WORKSPACE_NAMES
#define XA_WIN_WORKSPACE_NAMES "_WIN_WORKSPACE_NAMES"
XA_WIN_LAYER
#define XA_WIN_LAYER "_WIN_LAYER"
XA_WIN_STATE
#define XA_WIN_STATE "_WIN_STATE"
XA_WIN_HINTS
#define XA_WIN_HINTS "_WIN_HINTS"
XA_WIN_WORKAREA
#define XA_WIN_WORKAREA "_WIN_WORKAREA"
XA_WIN_CLIENT_LIST
#define XA_WIN_CLIENT_LIST "_WIN_CLIENT_LIST"
XA_WIN_APP_STATE
#define XA_WIN_APP_STATE "_WIN_APP_STATE"
XA_WIN_EXPANDED_SIZE
#define XA_WIN_EXPANDED_SIZE "_WIN_EXPANDED_SIZE"
XA_WIN_CLIENT_MOVING
#define XA_WIN_CLIENT_MOVING "_WIN_CLIENT_MOVING"
XA_WIN_SUPPORTING_WM_CHECK
#define XA_WIN_SUPPORTING_WM_CHECK "_WIN_SUPPORTING_WM_CHECK"
GnomeWinLayer
typedef enum
{
WIN_LAYER_DESKTOP = 0,
WIN_LAYER_BELOW = 2,
WIN_LAYER_NORMAL = 4,
WIN_LAYER_ONTOP = 6,
WIN_LAYER_DOCK = 8,
WIN_LAYER_ABOVE_DOCK = 10
} GnomeWinLayer;
GnomeWinState
typedef enum
{
WIN_STATE_STICKY = (1<<0), /* everyone knows sticky */
WIN_STATE_MINIMIZED = (1<<1), /* ??? */
WIN_STATE_MAXIMIZED_VERT = (1<<2), /* window in maximized V state */
WIN_STATE_MAXIMIZED_HORIZ = (1<<3), /* window in maximized H state */
WIN_STATE_HIDDEN = (1<<4), /* not on taskbar but window visible */
WIN_STATE_SHADED = (1<<5), /* shaded (NeXT style) */
WIN_STATE_HID_WORKSPACE = (1<<6), /* not on current desktop */
WIN_STATE_HID_TRANSIENT = (1<<7), /* owner of transient is hidden */
WIN_STATE_FIXED_POSITION = (1<<8), /* window is fixed in position even */
WIN_STATE_ARRANGE_IGNORE = (1<<9) /* ignore for auto arranging */
} GnomeWinState;
GnomeWinHints
typedef enum
{
WIN_HINTS_SKIP_FOCUS = (1<<0), /* "alt-tab" skips this win */
WIN_HINTS_SKIP_WINLIST = (1<<1), /* not in win list */
WIN_HINTS_SKIP_TASKBAR = (1<<2), /* not on taskbar */
WIN_HINTS_GROUP_TRANSIENT = (1<<3), /* ??????? */
WIN_HINTS_FOCUS_ON_CLICK = (1<<4), /* app only accepts focus when clicked */
WIN_HINTS_DO_NOT_COVER = (1<<5) /* attempt to not cover this window */
} GnomeWinHints;
GnomeWinAppState
typedef enum
{
WIN_APP_STATE_NONE,
WIN_APP_STATE_ACTIVE1,
WIN_APP_STATE_ACTIVE2,
WIN_APP_STATE_ERROR1,
WIN_APP_STATE_ERROR2,
WIN_APP_STATE_FATAL_ERROR1,
WIN_APP_STATE_FATAL_ERROR2,
WIN_APP_STATE_IDLE1,
WIN_APP_STATE_IDLE2,
WIN_APP_STATE_WAITING1,
WIN_APP_STATE_WAITING2,
WIN_APP_STATE_WORKING1,
WIN_APP_STATE_WORKING2,
WIN_APP_STATE_NEED_USER_INPUT1,
WIN_APP_STATE_NEED_USER_INPUT2,
WIN_APP_STATE_STRUGGLING1,
WIN_APP_STATE_STRUGGLING2,
WIN_APP_STATE_DISK_TRAFFIC1,
WIN_APP_STATE_DISK_TRAFFIC2,
WIN_APP_STATE_NETWORK_TRAFFIC1,
WIN_APP_STATE_NETWORK_TRAFFIC2,
WIN_APP_STATE_OVERLOADED1,
WIN_APP_STATE_OVERLOADED2,
WIN_APP_STATE_PERCENT000_1,
WIN_APP_STATE_PERCENT000_2,
WIN_APP_STATE_PERCENT010_1,
WIN_APP_STATE_PERCENT010_2,
WIN_APP_STATE_PERCENT020_1,
WIN_APP_STATE_PERCENT020_2,
WIN_APP_STATE_PERCENT030_1,
WIN_APP_STATE_PERCENT030_2,
WIN_APP_STATE_PERCENT040_1,
WIN_APP_STATE_PERCENT040_2,
WIN_APP_STATE_PERCENT050_1,
WIN_APP_STATE_PERCENT050_2,
WIN_APP_STATE_PERCENT060_1,
WIN_APP_STATE_PERCENT060_2,
WIN_APP_STATE_PERCENT070_1,
WIN_APP_STATE_PERCENT070_2,
WIN_APP_STATE_PERCENT080_1,
WIN_APP_STATE_PERCENT080_2,
WIN_APP_STATE_PERCENT090_1,
WIN_APP_STATE_PERCENT090_2,
WIN_APP_STATE_PERCENT100_1,
WIN_APP_STATE_PERCENT100_2
} GnomeWinAppState;
gnome_win_hints_init
void
void
gnome_win_hints_set_layer
void
GtkWidget *window, GnomeWinLayer layer
gnome_win_hints_get_layer
GnomeWinLayer
GtkWidget *window
gnome_win_hints_set_state
void
GtkWidget *window, GnomeWinState state
gnome_win_hints_get_state
GnomeWinState
GtkWidget *window
gnome_win_hints_set_hints
void
GtkWidget *window, GnomeWinHints skip
gnome_win_hints_get_hints
GnomeWinHints
GtkWidget *window
gnome_win_hints_set_workspace
void
GtkWidget *window, gint workspace
gnome_win_hints_get_workspace
gint
GtkWidget *window
gnome_win_hints_set_current_workspace
void
gint workspace
gnome_win_hints_get_current_workspace
gint
void
gnome_win_hints_get_workspace_names
GList *
void
gnome_win_hints_get_workspace_count
gint
void
gnome_win_hints_set_expanded_size
void
GtkWidget *window, gint x, gint y, gint width, gint height
gnome_win_hints_get_expanded_size
gboolean
GtkWidget *window, gint *x, gint *y, gint *width, gint *height
gnome_win_hints_set_moving
void
GtkWidget *window, gboolean moving
gnome_win_hints_set_app_state
void
GtkWidget *window, GnomeWinAppState state
gnome_win_hints_get_app_state
GnomeWinAppState
GtkWidget *window
gnome_win_hints_set_moving
void
GtkWidget *window, gboolean moving
gnome_win_hints_wm_exists
gboolean
void
gnome_win_hints_get_client_window_ids
GList *
void
GTK_CLOCK
#define GTK_CLOCK(obj) GTK_CHECK_CAST(obj, gtk_clock_get_type(), GtkClock)
GTK_CLOCK_CLASS
#define GTK_CLOCK_CLASS(class) GTK_CHECK_CAST_CLASS(class, gtk_clock_get_type(), GtkClockClass)
GTK_IS_CLOCK
#define GTK_IS_CLOCK(obj) GTK_CHECK_TYPE(obj, gtk_clock_get_type())
GtkClock
GtkClockClass
GtkClockType
typedef enum
{
GTK_CLOCK_INCREASING,
GTK_CLOCK_DECREASING,
GTK_CLOCK_REALTIME
} GtkClockType;
GtkClock
struct GtkClock {
GtkLabel widget;
GtkClockType type;
gint timer_id;
gint update_interval;
time_t seconds;
time_t stopped;
gchar *fmt;
struct tm *tm;
};
gtk_clock_get_type
guint
void
gtk_clock_new
GtkWidget *
GtkClockType type
gtk_clock_set_format
void
GtkClock *gclock, gchar *fmt
gtk_clock_set_seconds
void
GtkClock *gclock, time_t seconds
gtk_clock_set_update_interval
void
GtkClock *gclock, gint seconds
gtk_clock_start
void
GtkClock *gclock
gtk_clock_stop
void
GtkClock *gclock
GTK_TED
#define GTK_TED(obj) GTK_CHECK_CAST (obj, gtk_ted_get_type (), GtkTed)
GTK_TED_CLASS
#define GTK_TED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_ted_get_type (), GtkTedClass)
GTK_IS_TED
#define GTK_IS_TED(obj) GTK_CHECK_TYPE (obj, gtk_ted_get_type ())
GtkTed
GtkTedClass
gtk_ted_get_type
guint
void
gtk_ted_set_app_name
void
char *str
gtk_ted_prepare
void
GtkTed *ted
gtk_ted_new
GtkWidget *
char *dialog_name
gtk_ted_new_layout
GtkWidget *
char *dialog_name, char *layout
gtk_ted_add
void
GtkTed *ted, GtkWidget *widget, char *name
GtkTed
struct GtkTed
{
GtkTable table;
GHashTable *widgets;
GtkWidget *widget_box;
int last_col, last_row;
int top_col, top_row;
char *dialog_name;
int need_gui;
int in_gui;
};
GTK_CAULDRON_TOPLEVEL
#define GTK_CAULDRON_TOPLEVEL (0x1L<<0)
GTK_CAULDRON_DIALOG
#define GTK_CAULDRON_DIALOG (0x1L<<1)
GTK_CAULDRON_POPUP
#define GTK_CAULDRON_POPUP (0x1L<<2)
GTK_CAULDRON_SPACE_SHIFT
#define GTK_CAULDRON_SPACE_SHIFT (3)
GTK_CAULDRON_SPACE_MASK
#define GTK_CAULDRON_SPACE_MASK (0xFL<
GTK_CAULDRON_SPACE1
#define GTK_CAULDRON_SPACE1 (0x1L<
GTK_CAULDRON_SPACE2
#define GTK_CAULDRON_SPACE2 (0x2L<
GTK_CAULDRON_SPACE3
#define GTK_CAULDRON_SPACE3 (0x3L<
GTK_CAULDRON_SPACE4
#define GTK_CAULDRON_SPACE4 (0x4L<
GTK_CAULDRON_SPACE5
#define GTK_CAULDRON_SPACE5 (0x5L<
GTK_CAULDRON_SPACE6
#define GTK_CAULDRON_SPACE6 (0x6L<
GTK_CAULDRON_SPACE7
#define GTK_CAULDRON_SPACE7 (0x7L<
GTK_CAULDRON_SPACE8
#define GTK_CAULDRON_SPACE8 (0x8L<
GTK_CAULDRON_SPACE9
#define GTK_CAULDRON_SPACE9 (0x9L<
GTK_CAULDRON_SPACE10
#define GTK_CAULDRON_SPACE10 (0xAL<
GTK_CAULDRON_SPACE11
#define GTK_CAULDRON_SPACE11 (0xBL<
GTK_CAULDRON_SPACE12
#define GTK_CAULDRON_SPACE12 (0xCL<
GTK_CAULDRON_SPACE13
#define GTK_CAULDRON_SPACE13 (0xDL<
GTK_CAULDRON_SPACE14
#define GTK_CAULDRON_SPACE14 (0xEL<
GTK_CAULDRON_SPACE15
#define GTK_CAULDRON_SPACE15 (0xFL<
GTK_CAULDRON_IGNOREESCAPE
#define GTK_CAULDRON_IGNOREESCAPE (0x1L<<7)
GTK_CAULDRON_IGNOREENTER
#define GTK_CAULDRON_IGNOREENTER (0x1L<<8)
GTK_CAULDRON_GRAB
#define GTK_CAULDRON_GRAB (0x1L<<9)
GTK_CAULDRON_PARENT
#define GTK_CAULDRON_PARENT (0x1L<<10)
GtkCauldronNextArgCallback
void
gint cauldron_type, gpointer user_data, void *result
GTK_CAULDRON_ENTER
extern gchar *GTK_CAULDRON_ENTER;
GTK_CAULDRON_ESCAPE
extern gchar *GTK_CAULDRON_ESCAPE;
GtkCauldronCustomCallback
GtkWidget *
GtkWidget * widget, gpointer user_data
gtk_dialog_cauldron
gchar *
const gchar * title, glong options, ...
gtk_dialog_cauldron_parse
gchar *
const gchar * title, glong options,const gchar * format,GtkCauldronNextArgCallback next_arg,gpointer user_data,GtkWidget *parent
GTK_DIAL
#define GTK_DIAL(obj) GTK_CHECK_CAST (obj, gtk_dial_get_type (), GtkDial)
GTK_DIAL_CLASS
#define GTK_DIAL_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_dial_get_type (), GtkDialClass)
GTK_IS_DIAL
#define GTK_IS_DIAL(obj) GTK_CHECK_TYPE (obj, gtk_dial_get_type ())
GtkDial
GtkDialClass
GtkDial
struct GtkDial
{
GtkWidget widget;
GdkPixmap *offscreen_pixmap;
GtkAdjustment *adjustment;
guint policy : 2;
guint view_only : 1;
guint8 button;
/* Dimensions of dial components */
gint radius;
gint pointer_width;
guint32 timer;
gfloat angle;
gfloat percentage;
gfloat old_value;
gfloat old_lower;
gfloat old_upper;
};
gtk_dial_new
GtkWidget *
GtkAdjustment *adjustment
gtk_dial_get_type
guint
void
gtk_dial_get_adjustment
GtkAdjustment *
GtkDial *dial
gtk_dial_set_update_policy
void
GtkDial *dial,GtkUpdateType policy
gtk_dial_set_adjustment
void
GtkDial *dial,GtkAdjustment *adjustment
gtk_dial_set_percentage
gfloat
GtkDial *dial,gfloat percent
gtk_dial_get_percentage
gfloat
GtkDial *dial
gtk_dial_set_value
gfloat
GtkDial *dial,gfloat value
gtk_dial_get_value
gfloat
GtkDial *dial
gtk_dial_set_view_only
void
GtkDial *dial,gboolean view_only
GTK_TYPE_PIXMAP_MENU_ITEM
#define GTK_TYPE_PIXMAP_MENU_ITEM (gtk_pixmap_menu_item_get_type ())
GTK_PIXMAP_MENU_ITEM
#define GTK_PIXMAP_MENU_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PIXMAP_MENU_ITEM, GtkPixmapMenuItem))
GTK_PIXMAP_MENU_ITEM_CLASS
#define GTK_PIXMAP_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PIXMAP_MENU_ITEM, GtkPixmapMenuItemClass))
GTK_IS_PIXMAP_MENU_ITEM
#define GTK_IS_PIXMAP_MENU_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PIXMAP_MENU_ITEM))
GTK_IS_PIXMAP_MENU_ITEM_CLASS
#define GTK_IS_PIXMAP_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PIXMAP_MENU_ITEM))
GtkPixmapMenuItem
GtkPixmapMenuItemClass
GtkPixmapMenuItem
struct GtkPixmapMenuItem
{
GtkMenuItem menu_item;
GtkWidget *pixmap;
};
gtk_pixmap_menu_item_get_type
GtkType
void
gtk_pixmap_menu_item_new
GtkWidget *
void
gtk_pixmap_menu_item_set_pixmap
void
GtkPixmapMenuItem *menu_item,GtkWidget *pixmap
GNOME_TYPE_DRUID_PAGE_FINISH
#define GNOME_TYPE_DRUID_PAGE_FINISH (gnome_druid_page_finish_get_type ())
GNOME_DRUID_PAGE_FINISH
#define GNOME_DRUID_PAGE_FINISH(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE_FINISH, GnomeDruidPageFinish))
GNOME_DRUID_PAGE_FINISH_CLASS
#define GNOME_DRUID_PAGE_FINISH_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_FINISH, GnomeDruidPageFinishClass))
GNOME_IS_DRUID_PAGE_FINISH
#define GNOME_IS_DRUID_PAGE_FINISH(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_FINISH))
GNOME_IS_DRUID_PAGE_FINISH_CLASS
#define GNOME_IS_DRUID_PAGE_FINISH_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_FINISH))
GnomeDruidPageFinish
GnomeDruidPageFinishClass
GnomeDruidPageFinish
struct GnomeDruidPageFinish
{
GnomeDruidPage parent;
GdkColor background_color;
GdkColor textbox_color;
GdkColor logo_background_color;
GdkColor title_color;
GdkColor text_color;
gchar *title;
gchar *text;
GdkImlibImage *logo_image;
GdkImlibImage *watermark_image;
/*< private >*/
GtkWidget *canvas;
GnomeCanvasItem *background_item;
GnomeCanvasItem *textbox_item;
GnomeCanvasItem *text_item;
GnomeCanvasItem *logo_item;
GnomeCanvasItem *logoframe_item;
GnomeCanvasItem *watermark_item;
GnomeCanvasItem *title_item;
};
gnome_druid_page_finish_get_type
GtkType
void
gnome_druid_page_finish_new
GtkWidget *
void
gnome_druid_page_finish_new_with_vals
GtkWidget *
gchar *title,gchar* text,GdkImlibImage *logo,GdkImlibImage *watermark
gnome_druid_page_finish_set_bg_color
void
GnomeDruidPageFinish *druid_page_finish,GdkColor *color
gnome_druid_page_finish_set_textbox_color
void
GnomeDruidPageFinish *druid_page_finish,GdkColor *color
gnome_druid_page_finish_set_logo_bg_color
void
GnomeDruidPageFinish *druid_page_finish,GdkColor *color
gnome_druid_page_finish_set_title_color
void
GnomeDruidPageFinish *druid_page_finish,GdkColor *color
gnome_druid_page_finish_set_text_color
void
GnomeDruidPageFinish *druid_page_finish,GdkColor *color
gnome_druid_page_finish_set_text
void
GnomeDruidPageFinish *druid_page_finish,gchar *text
gnome_druid_page_finish_set_title
void
GnomeDruidPageFinish *druid_page_finish,gchar *title
gnome_druid_page_finish_set_logo
void
GnomeDruidPageFinish *druid_page_finish,GdkImlibImage *logo_image
gnome_druid_page_finish_set_watermark
void
GnomeDruidPageFinish *druid_page_finish,GdkImlibImage *watermark
GNOME_TYPE_DRUID_PAGE_STANDARD
#define GNOME_TYPE_DRUID_PAGE_STANDARD (gnome_druid_page_standard_get_type ())
GNOME_DRUID_PAGE_STANDARD
#define GNOME_DRUID_PAGE_STANDARD(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD, GnomeDruidPageStandard))
GNOME_DRUID_PAGE_STANDARD_CLASS
#define GNOME_DRUID_PAGE_STANDARD_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_STANDARD, GnomeDruidPageStandardClass))
GNOME_IS_DRUID_PAGE_STANDARD
#define GNOME_IS_DRUID_PAGE_STANDARD(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD))
GNOME_IS_DRUID_PAGE_STANDARD_CLASS
#define GNOME_IS_DRUID_PAGE_STANDARD_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD))
GnomeDruidPageStandard
GnomeDruidPageStandardClass
GnomeDruidPageStandard
struct GnomeDruidPageStandard
{
GnomeDruidPage parent;
GtkWidget *vbox;
GdkColor background_color;
GdkColor logo_background_color;
GdkColor title_color;
GdkImlibImage *logo_image;
gchar *title;
/*< private >*/
GtkWidget *canvas;
GtkWidget *side_bar;
GnomeCanvasItem *logoframe_item;
GnomeCanvasItem *logo_item;
GnomeCanvasItem *title_item;
GnomeCanvasItem *background_item;
};
gnome_druid_page_standard_get_type
GtkType
void
gnome_druid_page_standard_new
GtkWidget *
void
gnome_druid_page_standard_new_with_vals
GtkWidget *
gchar *title, GdkImlibImage *logo
gnome_druid_page_standard_set_bg_color
void
GnomeDruidPageStandard *druid_page_standard,GdkColor *color
gnome_druid_page_standard_set_logo_bg_color
void
GnomeDruidPageStandard *druid_page_standard,GdkColor *color
gnome_druid_page_standard_set_title_color
void
GnomeDruidPageStandard *druid_page_standard,GdkColor *color
gnome_druid_page_standard_set_title
void
GnomeDruidPageStandard *druid_page_standard,gchar *title
gnome_druid_page_standard_set_logo
void
GnomeDruidPageStandard *druid_page_standard,GdkImlibImage *logo_image
GNOME_TYPE_DRUID_PAGE_START
#define GNOME_TYPE_DRUID_PAGE_START (gnome_druid_page_start_get_type ())
GNOME_DRUID_PAGE_START
#define GNOME_DRUID_PAGE_START(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE_START, GnomeDruidPageStart))
GNOME_DRUID_PAGE_START_CLASS
#define GNOME_DRUID_PAGE_START_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_START, GnomeDruidPageStartClass))
GNOME_IS_DRUID_PAGE_START
#define GNOME_IS_DRUID_PAGE_START(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_START))
GNOME_IS_DRUID_PAGE_START_CLASS
#define GNOME_IS_DRUID_PAGE_START_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_START))
GnomeDruidPageStart
GnomeDruidPageStartClass
GnomeDruidPageStart
struct GnomeDruidPageStart
{
GnomeDruidPage parent;
GdkColor background_color;
GdkColor textbox_color;
GdkColor logo_background_color;
GdkColor title_color;
GdkColor text_color;
gchar *title;
gchar *text;
GdkImlibImage *logo_image;
GdkImlibImage *watermark_image;
/*< private >*/
GtkWidget *canvas;
GnomeCanvasItem *background_item;
GnomeCanvasItem *textbox_item;
GnomeCanvasItem *text_item;
GnomeCanvasItem *logo_item;
GnomeCanvasItem *logoframe_item;
GnomeCanvasItem *watermark_item;
GnomeCanvasItem *title_item;
};
gnome_druid_page_start_get_type
GtkType
void
gnome_druid_page_start_new
GtkWidget *
void
gnome_druid_page_start_new_with_vals
GtkWidget *
gchar *title,gchar* text,GdkImlibImage *logo,GdkImlibImage *watermark
gnome_druid_page_start_set_bg_color
void
GnomeDruidPageStart *druid_page_start,GdkColor *color
gnome_druid_page_start_set_textbox_color
void
GnomeDruidPageStart *druid_page_start,GdkColor *color
gnome_druid_page_start_set_logo_bg_color
void
GnomeDruidPageStart *druid_page_start,GdkColor *color
gnome_druid_page_start_set_title_color
void
GnomeDruidPageStart *druid_page_start,GdkColor *color
gnome_druid_page_start_set_text_color
void
GnomeDruidPageStart *druid_page_start,GdkColor *color
gnome_druid_page_start_set_text
void
GnomeDruidPageStart *druid_page_start,gchar *text
gnome_druid_page_start_set_title
void
GnomeDruidPageStart *druid_page_start,gchar *title
gnome_druid_page_start_set_logo
void
GnomeDruidPageStart *druid_page_start,GdkImlibImage *logo_image
gnome_druid_page_start_set_watermark
void
GnomeDruidPageStart *druid_page_start,GdkImlibImage *watermark
GNOME_TYPE_DRUID_PAGE
#define GNOME_TYPE_DRUID_PAGE (gnome_druid_page_get_type ())
GNOME_DRUID_PAGE
#define GNOME_DRUID_PAGE(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE, GnomeDruidPage))
GNOME_DRUID_PAGE_CLASS
#define GNOME_DRUID_PAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE, GnomeDruidPageClass))
GNOME_IS_DRUID_PAGE
#define GNOME_IS_DRUID_PAGE(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE))
GNOME_IS_DRUID_PAGE_CLASS
#define GNOME_IS_DRUID_PAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE))
GnomeDruidPage
GnomeDruidPageClass
GnomeDruidPage
struct GnomeDruidPage
{
GtkBin parent;
};
gnome_druid_page_get_type
GtkType
void
gnome_druid_page_next
gboolean
GnomeDruidPage *druid_page
gnome_druid_page_prepare
void
GnomeDruidPage *druid_page
gnome_druid_page_back
gboolean
GnomeDruidPage *druid_page
gnome_druid_page_cancel
gboolean
GnomeDruidPage *druid_page
gnome_druid_page_finish
void
GnomeDruidPage *druid_page
GNOME_TYPE_DRUID
#define GNOME_TYPE_DRUID (gnome_druid_get_type ())
GNOME_DRUID
#define GNOME_DRUID(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID, GnomeDruid))
GNOME_DRUID_CLASS
#define GNOME_DRUID_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID, GnomeDruidClass))
GNOME_IS_DRUID
#define GNOME_IS_DRUID(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID))
GNOME_IS_DRUID_CLASS
#define GNOME_IS_DRUID_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID))
GnomeDruid
GnomeDruidClass
GnomeDruid
struct GnomeDruid
{
GtkContainer parent;
GtkWidget *back;
GtkWidget *next;
GtkWidget *cancel;
GtkWidget *finish;
/*< private >*/
GnomeDruidPage *current;
GList *children;
gboolean show_finish; /* if TRUE, then we are showing the finish button instead of the next button */
};
gnome_druid_get_type
GtkType
void
gnome_druid_new
GtkWidget *
void
gnome_druid_set_buttons_sensitive
void
GnomeDruid *druid,gboolean back_sensitive,gboolean next_sensitive,gboolean cancel_sensitive
gnome_druid_set_show_finish
void
GnomeDruid *druid, gboolean show_finish
gnome_druid_prepend_page
void
GnomeDruid *druid, GnomeDruidPage *page
gnome_druid_insert_page
void
GnomeDruid *druid, GnomeDruidPage *back_page, GnomeDruidPage *page
gnome_druid_append_page
void
GnomeDruid *druid, GnomeDruidPage *page
gnome_druid_set_page
void
GnomeDruid *druid, GnomeDruidPage *page
GTK_TYPE_GNOME_ANIMATOR_STATUS
extern GtkType GTK_TYPE_GNOME_ANIMATOR_STATUS;
GTK_TYPE_GNOME_ANIMATOR_LOOP_TYPE
extern GtkType GTK_TYPE_GNOME_ANIMATOR_LOOP_TYPE;
GTK_TYPE_GNOME_UI_INFO_TYPE
extern GtkType GTK_TYPE_GNOME_UI_INFO_TYPE;
GTK_TYPE_GNOME_UI_INFO_CONFIGURABLE_TYPES
extern GtkType GTK_TYPE_GNOME_UI_INFO_CONFIGURABLE_TYPES;
GTK_TYPE_GNOME_UI_PIXMAP_TYPE
extern GtkType GTK_TYPE_GNOME_UI_PIXMAP_TYPE;
GTK_TYPE_GNOME_CALCULATOR_MODE
extern GtkType GTK_TYPE_GNOME_CALCULATOR_MODE;
GTK_TYPE_GNOME_INTERACT_STYLE
extern GtkType GTK_TYPE_GNOME_INTERACT_STYLE;
GTK_TYPE_GNOME_DIALOG_TYPE
extern GtkType GTK_TYPE_GNOME_DIALOG_TYPE;
GTK_TYPE_GNOME_SAVE_STYLE
extern GtkType GTK_TYPE_GNOME_SAVE_STYLE;
GTK_TYPE_GNOME_RESTART_STYLE
extern GtkType GTK_TYPE_GNOME_RESTART_STYLE;
GTK_TYPE_GNOME_CLIENT_STATE
extern GtkType GTK_TYPE_GNOME_CLIENT_STATE;
GTK_TYPE_GNOME_CLIENT_FLAGS
extern GtkType GTK_TYPE_GNOME_CLIENT_FLAGS;
GTK_TYPE_GNOME_DATE_EDIT_FLAGS
extern GtkType GTK_TYPE_GNOME_DATE_EDIT_FLAGS;
GTK_TYPE_GNOME_DOCK_PLACEMENT
extern GtkType GTK_TYPE_GNOME_DOCK_PLACEMENT;
GTK_TYPE_GNOME_DOCK_ITEM_BEHAVIOR
extern GtkType GTK_TYPE_GNOME_DOCK_ITEM_BEHAVIOR;
GTK_TYPE_GNOME_FONT_PICKER_MODE
extern GtkType GTK_TYPE_GNOME_FONT_PICKER_MODE;
GTK_TYPE_GNOME_ICON_LIST_MODE
extern GtkType GTK_TYPE_GNOME_ICON_LIST_MODE;
GTK_TYPE_GNOME_MDI_MODE
extern GtkType GTK_TYPE_GNOME_MDI_MODE;
GTK_TYPE_GNOME_PROPERTY_ACTION
extern GtkType GTK_TYPE_GNOME_PROPERTY_ACTION;
GTK_TYPE_GNOME_STOCK_PIXMAP_TYPE
extern GtkType GTK_TYPE_GNOME_STOCK_PIXMAP_TYPE;
GTK_TYPE_GNOME_PREFERENCES_TYPE
extern GtkType GTK_TYPE_GNOME_PREFERENCES_TYPE;
GTK_TYPE_GNOME_WIN_LAYER
extern GtkType GTK_TYPE_GNOME_WIN_LAYER;
GTK_TYPE_GNOME_WIN_STATE
extern GtkType GTK_TYPE_GNOME_WIN_STATE;
GTK_TYPE_GNOME_WIN_HINTS
extern GtkType GTK_TYPE_GNOME_WIN_HINTS;
GTK_TYPE_GNOME_WIN_APP_STATE
extern GtkType GTK_TYPE_GNOME_WIN_APP_STATE;
GTK_TYPE_CLOCK_TYPE
extern GtkType GTK_TYPE_CLOCK_TYPE;
GTK_TYPE_GDK_IMLIB_IMAGE
extern GtkType GTK_TYPE_GDK_IMLIB_IMAGE;
GTK_TYPE_GNOME_CANVAS_POINTS
extern GtkType GTK_TYPE_GNOME_CANVAS_POINTS;
GNOME_TYPE_NUM_BUILTINS
#define GNOME_TYPE_NUM_BUILTINS (28)