l10n: Updated Russian (ru) translation to 100%
[maepad.git] / src / he / he-fullscreen-button.h
blob93bea816e396869af803ef260fbdd4f53c482af8
1 /*
2 * This file is a part of hildon-extras
4 * Copyright (C) 2009 Cornelius Hald <hald@icandy.de>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser Public License as published by
8 * the Free Software Foundation; version 2 of the license.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser Public License for more details.
16 #ifndef _HE_FULLSCREEN_BUTTON_
17 #define _HE_FULLSCREEN_BUTTON_
19 #include <gtk/gtk.h>
21 G_BEGIN_DECLS
23 #define HE_TYPE_FULLSCREEN_BUTTON \
24 (he_fullscreen_button_get_type())
26 #define HE_FULLSCREEN_BUTTON(object) \
27 (G_TYPE_CHECK_INSTANCE_CAST((object), \
28 HE_TYPE_FULLSCREEN_BUTTON, HeFullscreenButton))
30 #define HE_FULLSCREEN_BUTTON_CLASS(klass) \
31 (G_TYPE_CHECK_CLASS_CAST((klass), \
32 HE_TYPE_FULLSCREEN_BUTTON, HeFullscreenButtonClass))
34 #define HE_IS_FULLSCREEN_BUTTON(object) \
35 (G_TYPE_CHECK_INSTANCE_TYPE((object), \
36 HE_TYPE_FULLSCREEN_BUTTON))
38 #define HE_IS_FULLSCREEN_BUTTON_CLASS(klass) \
39 (G_TYPE_CHECK_CLASS_TYPE((klass), \
40 HE_TYPE_FULLSCREEN_BUTTON))
42 #define HE_FULLSCREEN_BUTTON_GET_CLASS(obj) \
43 (G_TYPE_INSTANCE_GET_CLASS((obj), \
44 HE_TYPE_FULLSCREEN_BUTTON, HeFullscreenButtonClass))
47 typedef struct _HeFullscreenButton HeFullscreenButton;
48 typedef struct _HeFullscreenButtonClass HeFullscreenButtonClass;
51 struct _HeFullscreenButton
53 GObject parent;
55 GtkWindow *parent_window;
58 struct _HeFullscreenButtonClass
60 GObjectClass parent_class;
62 void (*clicked) (HeFullscreenButton *manager);
66 GType
67 he_fullscreen_button_get_type (void);
69 HeFullscreenButton *
70 he_fullscreen_button_new (GtkWindow *window);
72 void
73 he_fullscreen_button_disable (HeFullscreenButton *self);
75 void
76 he_fullscreen_button_enable (HeFullscreenButton *self);
78 GtkWidget *
79 he_fullscreen_button_get_overlay (HeFullscreenButton *self);
81 GtkWindow *
82 he_fullscreen_button_get_window (HeFullscreenButton *self);
84 G_END_DECLS
86 #endif /* _HE_FULLSCREEN_BUTTON_ */