|
marco 1.29.1
Window manager
|
#include <gtk/gtk.h>#include <gdk/gdkx.h>#include <X11/Xatom.h>#include <unistd.h>Macros | |
| #define | DOCK_SIZE 48 |
Enumerations | |
| enum | { DOCK_TOP = 1 , DOCK_BOTTOM = 2 , DOCK_LEFT = 3 , DOCK_RIGHT = 4 , DOCK_ALL = 5 } |
Functions | |
| static void | do_appwindow (GSimpleAction *action, GVariant *parameter, gpointer user_data) |
| static void | set_gdk_window_struts (GdkWindow *window, int left, int right, int top, int bottom) |
| static void | on_realize_set_struts (GtkWindow *window, gpointer data) |
| static void | set_gtk_window_struts (GtkWidget *window, int left, int right, int top, int bottom) |
| static void | set_gdk_window_type (GdkWindow *window, const char *type) |
| static void | on_realize_set_type (GtkWindow *window, gpointer data) |
| static void | set_gtk_window_type (GtkWindow *window, const char *type) |
| static void | set_gdk_window_border_only (GdkWindow *window) |
| static void | on_realize_set_border_only (GtkWindow *window, gpointer data) |
| static void | set_gtk_window_border_only (GtkWindow *window) |
| int | main (int argc, char **argv) |
| static void | response_cb (GtkDialog *dialog, int response_id, void *data) |
| static void | make_dialog (GtkWidget *parent, int depth) |
| static void | dialog_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | modal_dialog_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | no_parent_dialog_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | utility_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | toolbar_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | menu_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | override_redirect_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | border_only_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static gboolean | focus_in_event_cb (GtkWidget *window, GdkEvent *event, gpointer data) |
| static gboolean | focus_out_event_cb (GtkWidget *window, GdkEvent *event, gpointer data) |
| static GtkWidget * | focus_label (GtkWidget *window) |
| static void | splashscreen_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | make_dock (int type) |
| static void | dock_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | override_background_color (GtkWidget *widget, GdkRGBA *rgba) |
| static void | desktop_cb (GSimpleAction *action, GVariant *parameter, gpointer callback_data) |
| static void | sleep_cb (GSimpleAction *action, GVariant *parameter, gpointer data) |
| static void | toggle_aspect_ratio (GSimpleAction *action, GVariant *parameter, gpointer data) |
| static void | toggle_decorated_cb (GSimpleAction *action, GVariant *parameter, gpointer data) |
| static void | clicked_toolbar_cb (GSimpleAction *action, GVariant *parameter, gpointer data) |
| static void | update_statusbar (GtkTextBuffer *buffer, GtkStatusbar *statusbar) |
| static void | mark_set_callback (GtkTextBuffer *buffer, const GtkTextIter *new_location, GtkTextMark *mark, gpointer data) |
| static void | destroy_cb (GtkWidget *w, gpointer data) |
| static GtkWidget * | create_toolbar (void) |
Variables | |
| static gboolean | aspect_on |
| static int | window_count = 0 |
| static const gchar * | xml |
| static GActionEntry | demo_entries [] |
| #define DOCK_SIZE 48 |
|
static |
References FALSE, label, and set_gtk_window_border_only().
|
static |
References NULL.
|
static |
Referenced by do_appwindow().
|
static |
References focus_label(), label, override_background_color(), and set_gtk_window_type().
|
static |
References window_count.
Referenced by do_appwindow().
|
static |
|
static |
References aspect_on, create_toolbar(), demo_entries, destroy_cb(), FALSE, mark_set_callback(), NULL, TRUE, update_statusbar(), window_count, and xml.
Referenced by main().
|
static |
References DOCK_ALL, DOCK_BOTTOM, DOCK_LEFT, DOCK_RIGHT, DOCK_TOP, make_dock(), and NULL.
|
static |
References TRUE.
Referenced by focus_label().
|
static |
References focus_in_event_cb(), focus_out_event_cb(), and label.
Referenced by desktop_cb(), make_dock(), and splashscreen_cb().
|
static |
References TRUE.
Referenced by focus_label().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
|
static |
References NULL, and response_cb().
Referenced by dialog_cb(), no_parent_dialog_cb(), and response_cb().
|
static |
References DOCK_ALL, DOCK_BOTTOM, DOCK_LEFT, DOCK_RIGHT, DOCK_SIZE, DOCK_TOP, FALSE, focus_label(), NULL, set_gtk_window_struts(), and set_gtk_window_type().
Referenced by dock_cb().
|
static |
References update_statusbar().
Referenced by do_appwindow().
|
static |
|
static |
|
static |
|
static |
References set_gdk_window_border_only().
Referenced by set_gtk_window_border_only().
|
static |
References set_gdk_window_struts().
Referenced by set_gtk_window_struts().
|
static |
References NULL, and set_gdk_window_type().
Referenced by set_gtk_window_type().
|
static |
References NULL.
Referenced by desktop_cb().
|
static |
|
static |
|
static |
Referenced by on_realize_set_border_only(), and set_gtk_window_border_only().
|
static |
Referenced by on_realize_set_struts(), and set_gtk_window_struts().
|
static |
Referenced by on_realize_set_type(), and set_gtk_window_type().
|
static |
References NULL, on_realize_set_border_only(), and set_gdk_window_border_only().
Referenced by border_only_cb().
|
static |
References NULL, on_realize_set_struts(), and set_gdk_window_struts().
Referenced by make_dock().
|
static |
References NULL, on_realize_set_type(), and set_gdk_window_type().
Referenced by desktop_cb(), make_dock(), menu_cb(), modal_dialog_cb(), splashscreen_cb(), toolbar_cb(), and utility_cb().
|
static |
|
static |
References FALSE, focus_label(), and set_gtk_window_type().
|
static |
References aspect_on.
|
static |
|
static |
|
static |
Referenced by do_appwindow(), and mark_set_callback().
|
static |
|
static |
Referenced by do_appwindow(), and toggle_aspect_ratio().
|
static |
Referenced by do_appwindow().
|
static |
Referenced by destroy_cb(), and do_appwindow().
|
static |
Referenced by do_appwindow().