Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions | Variables
gdksuperwin.h File Reference
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#include <gtk/gtkobject.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GdkSuperWin
struct  _GdkSuperWinClass

Defines

#define GTKSUPERWIN_API(type)   type
#define GDK_TYPE_SUPERWIN   (gdk_superwin_get_type())
#define GDK_SUPERWIN(obj)   (GTK_CHECK_CAST((obj), GDK_TYPE_SUPERWIN, GdkSuperWin))
#define GDK_SUPERWIN_CLASS(klass)   (GTK_CHECK_CLASS_CAST((klass), GDK_TYPE_SUPERWIN, GdkSuperWinClass))
#define GDK_IS_SUPERWIN(obj)   (GTK_CHECK_TYPE((obj), GDK_TYPE_SUPERWIN))
#define GDK_IS_SUPERWIN_CLASS(klass)   (GTK_CHECK_CLASS_TYPE((klass), GDK_TYPE_SUPERWIN))

Typedefs

typedef struct _GdkSuperWin
typedef struct _GdkSuperWinClass
typedef void(* GdkSuperWinFunc )(GdkSuperWin *super_win, XEvent *event, gpointer data)
typedef void(* GdkSuperWinPaintFunc )(gint x, gint y, gint width, gint height, gpointer data)
typedef void(* GdkSuperWinPaintFlushFunc )(gpointer data)
typedef void(* GdkSuperWinKeyPressFunc )(XKeyEvent *event)
typedef void(* GdkSuperWinKeyReleaseFunc )(XKeyEvent *event)

Functions

 GTKSUPERWIN_API (GtkType) gdk_superwin_get_type(void)
 GTKSUPERWIN_API (GdkSuperWin *) gdk_superwin_new(GdkWindow *parent_window
 GTKSUPERWIN_API (void) gdk_superwin_reparent(GdkSuperWin *superwin
 gdk_superwin_set_event_funcs (GdkSuperWin *superwin, GdkSuperWinFunc shell_func, GdkSuperWinPaintFunc paint_func, GdkSuperWinPaintFlushFunc flush_func, GdkSuperWinKeyPressFunc keyprs_func, GdkSuperWinKeyReleaseFunc keyrel_func, gpointer func_data, GDestroyNotify notify)

Variables

guint x
guint guint y
guint guint guint width
guint guint guint guint height
GdkWindow * parent_window
gint dx
gint gint dy

Class Documentation

struct _GdkSuperWin

Definition at line 82 of file gdksuperwin.h.

Class Members
GdkWindow * bin_window
GdkSuperWinPaintFlushFunc flush_func
gpointer func_data
GdkSuperWinKeyPressFunc keyprs_func
GdkSuperWinKeyReleaseFunc keyrel_func
GDestroyNotify notify
GtkObject object
GdkSuperWinPaintFunc paint_func
GdkSuperWinFunc shell_func
GdkWindow * shell_window
GSList * translate_queue
GdkVisibilityState visibility
struct _GdkSuperWinClass

Definition at line 101 of file gdksuperwin.h.

Class Members
GtkObjectClass object_class

Define Documentation

#define GDK_IS_SUPERWIN (   obj)    (GTK_CHECK_TYPE((obj), GDK_TYPE_SUPERWIN))

Definition at line 67 of file gdksuperwin.h.

#define GDK_IS_SUPERWIN_CLASS (   klass)    (GTK_CHECK_CLASS_TYPE((klass), GDK_TYPE_SUPERWIN))

Definition at line 68 of file gdksuperwin.h.

#define GDK_SUPERWIN (   obj)    (GTK_CHECK_CAST((obj), GDK_TYPE_SUPERWIN, GdkSuperWin))

Definition at line 65 of file gdksuperwin.h.

#define GDK_SUPERWIN_CLASS (   klass)    (GTK_CHECK_CLASS_CAST((klass), GDK_TYPE_SUPERWIN, GdkSuperWinClass))

Definition at line 66 of file gdksuperwin.h.

Definition at line 64 of file gdksuperwin.h.

Definition at line 54 of file gdksuperwin.h.


Typedef Documentation

typedef struct _GdkSuperWin

Definition at line 61 of file gdksuperwin.h.

typedef struct _GdkSuperWinClass

Definition at line 62 of file gdksuperwin.h.

typedef void(* GdkSuperWinFunc)(GdkSuperWin *super_win, XEvent *event, gpointer data)

Definition at line 70 of file gdksuperwin.h.

typedef void(* GdkSuperWinKeyPressFunc)(XKeyEvent *event)

Definition at line 79 of file gdksuperwin.h.

typedef void(* GdkSuperWinKeyReleaseFunc)(XKeyEvent *event)

Definition at line 80 of file gdksuperwin.h.

typedef void(* GdkSuperWinPaintFlushFunc)(gpointer data)

Definition at line 77 of file gdksuperwin.h.

typedef void(* GdkSuperWinPaintFunc)(gint x, gint y, gint width, gint height, gpointer data)

Definition at line 74 of file gdksuperwin.h.


Function Documentation

gdk_superwin_set_event_funcs ( GdkSuperWin *  superwin,
GdkSuperWinFunc  shell_func,
GdkSuperWinPaintFunc  paint_func,
GdkSuperWinPaintFlushFunc  flush_func,
GdkSuperWinKeyPressFunc  keyprs_func,
GdkSuperWinKeyReleaseFunc  keyrel_func,
gpointer  func_data,
GDestroyNotify  notify 
)

Definition at line 468 of file gdksuperwin.c.

{
  if (superwin->notify && superwin->func_data)
    superwin->notify (superwin->func_data);
  
  superwin->shell_func = shell_func;
  superwin->paint_func = paint_func;
  superwin->flush_func = flush_func;
  superwin->keyprs_func = keyprs_func;
  superwin->keyrel_func = keyrel_func;
  superwin->func_data = func_data;
  superwin->notify = notify;

}

Here is the caller graph for this function:

GTKSUPERWIN_API ( GtkType  )
GTKSUPERWIN_API ( GdkSuperWin *  )

Variable Documentation

gint dx

Definition at line 128 of file gdksuperwin.h.

gint gint dy

Definition at line 128 of file gdksuperwin.h.

gint gint height

Definition at line 109 of file gdksuperwin.h.

GdkWindow* parent_window

Definition at line 115 of file gdksuperwin.h.

gint width

Definition at line 109 of file gdksuperwin.h.

guint x

Definition at line 109 of file gdksuperwin.h.

guint guint y

Definition at line 109 of file gdksuperwin.h.