Re: gtk_window_fullscreen problem
- From: Alexander Kuleshov <kuleshovmail gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_window_fullscreen problem
- Date: Mon, 14 Jun 2010 12:26:54 +0600
Yes.
typedef struct _MainWin MainWin;
typedef struct _MainWinClass MainWinClass;
#define LOAD_BUFFER_SIZE 65536
#define MAIN_WIN_TYPE (main_win_get_type ())
#define MAIN_WIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MAIN_WIN_TYPE, MainWin))
#define MAIN_WIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
MAIN_WIN_TYPE, MainWinClass))
#define IS_MAIN_WIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MAIN_WIN_TYPE))
#define IS_MAIN_WIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
MAIN_WIN_TYPE))
#define MAIN_WIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
MAIN_WIN_TYPE, MainWinClass))
typedef struct _MainWinClass
{
GtkWindowClass parent_class;
};
typedef struct _MainWin
{
GtkWindow parent;
GtkWidget* scroll;
GtkWidget* box;
GtkWidget *toolbar;
};
/* constructor */
GtkWindow* main_win_new();
gboolean main_win_open( MainWin* mw, const char* file_path);
void main_win_show_error( MainWin* mw, const char* message);
void main_win_close( MainWin* mw );
GType main_win_get_type(void);
void on_open( GtkWidget* btn, MainWin* mw );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]