Gnome User Interface Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
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; |
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; |
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; |
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; |
void gnome_win_hints_set_layer (GtkWidget *window, GnomeWinLayer layer); |
void gnome_win_hints_set_state (GtkWidget *window, GnomeWinState state); |
void gnome_win_hints_set_workspace (GtkWidget *window, gint workspace); |
void gnome_win_hints_set_current_workspace (gint workspace); |
void gnome_win_hints_set_expanded_size (GtkWidget *window, gint x, gint y, gint width, gint height); |
gboolean gnome_win_hints_get_expanded_size (GtkWidget *window, gint *x, gint *y, gint *width, gint *height); |
void gnome_win_hints_set_app_state (GtkWidget *window, GnomeWinAppState state); |