Module: Gdk
- Defined in:
- lib/gtk2/base.rb,
ext/gtk2/rbgdk.c
Defined Under Namespace
Modules: Input, Keyval, Pango, Property, RGB, Selection, Threads, X11
Classes: EventAny, PangoAttrEmbossColor, PangoAttrEmbossed, PangoAttrStipple
Constant Summary
collapse
- LOG_DOMAIN =
"Gdk"
Class Method Summary
collapse
Class Method Details
.beep ⇒ Object
261
262
263
|
# File 'ext/gtk2/rbgdk.c', line 261
static VALUE
gdk_s_beep(self)
VALUE self;
|
.cairo_available? ⇒ Boolean
82
83
84
85
86
87
88
89
90
|
# File 'ext/gtk2/rbgdkcairo.c', line 82
static VALUE
cairo_available_p(VALUE self)
{
#if CAIRO_AVAILABLE
return Qtrue;
#else
return Qfalse;
#endif
}
|
.display ⇒ Object
90
91
92
|
# File 'ext/gtk2/rbgdk.c', line 90
static VALUE
gdk_s_get_display(self)
VALUE self;
|
.display_arg_name ⇒ Object
29
30
31
|
# File 'ext/gtk2/rbgdk.c', line 29
static VALUE
gdk_s_get_display_arg_name(self)
VALUE self;
|
.error_trap_pop ⇒ Object
277
278
279
|
# File 'ext/gtk2/rbgdk.c', line 277
static VALUE
gdk_s_error_trap_pop(self)
VALUE self;
|
.error_trap_push ⇒ Object
269
270
271
|
# File 'ext/gtk2/rbgdk.c', line 269
static VALUE
gdk_s_error_trap_push(self)
VALUE self;
|
.flush ⇒ Object
173
174
175
|
# File 'ext/gtk2/rbgdk.c', line 173
static VALUE
gdk_s_flush(self)
VALUE self;
|
.keyboard_grab ⇒ Object
229
230
231
|
# File 'ext/gtk2/rbgdk.c', line 229
static VALUE
gdk_s_keyboard_grab(self, win, owner_events, time)
VALUE self, win, owner_events, time;
|
.keyboard_ungrab ⇒ Object
238
239
240
|
# File 'ext/gtk2/rbgdk.c', line 238
static VALUE
gdk_s_keyboard_ungrab(self, time)
VALUE self, time;
|
.notify_startup_complete(*args) ⇒ Object
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# File 'ext/gtk2/rbgdk.c', line 53
static VALUE
gdk_s_notify_startup_complete(int argc, VALUE *argv, VALUE self)
{
VALUE startup_id;
rb_scan_args(argc, argv, "01", &startup_id);
if (NIL_P(startup_id)) {
gdk_notify_startup_complete();
} else {
#if GTK_CHECK_VERSION(2, 12, 0)
gdk_notify_startup_complete_with_id(RVAL2CSTR(startup_id));
#else
rb_raise(rb_eNotImpError,
"GTK+ >= 2.12 is required to use "
"Gdk.notify_startup_complete with startup ID.");
#endif
}
return self;
}
|
.pointer_grab ⇒ Object
209
210
211
|
# File 'ext/gtk2/rbgdk.c', line 209
static VALUE
gdk_s_pointer_grab(self, win, owner_events, event_mask, confine_to, cursor, time)
VALUE self, win, owner_events, event_mask, confine_to, cursor, time;
|
.pointer_is_grabbed? ⇒ Boolean
246
247
248
|
# File 'ext/gtk2/rbgdk.c', line 246
static VALUE
gdk_s_pointer_is_grabbed(self)
VALUE self;
|
.pointer_ungrab ⇒ Object
221
222
223
|
# File 'ext/gtk2/rbgdk.c', line 221
static VALUE
gdk_s_pointer_ungrab(self, time)
VALUE self, time;
|
.program_class ⇒ Object
75
76
77
|
# File 'ext/gtk2/rbgdk.c', line 75
static VALUE
gdk_s_get_program_class(self)
VALUE self;
|
.screen_height ⇒ Object
195
196
197
|
# File 'ext/gtk2/rbgdk.c', line 195
static VALUE
gdk_s_screen_height(self)
VALUE self;
|
.screen_height_mm ⇒ Object
202
203
204
|
# File 'ext/gtk2/rbgdk.c', line 202
static VALUE
gdk_s_screen_height_mm(self)
VALUE self;
|
.screen_width ⇒ Object
181
182
183
|
# File 'ext/gtk2/rbgdk.c', line 181
static VALUE
gdk_s_screen_width(self)
VALUE self;
|
.screen_width_mm ⇒ Object
188
189
190
|
# File 'ext/gtk2/rbgdk.c', line 188
static VALUE
gdk_s_screen_width_mm(self)
VALUE self;
|
.set_double_click_time ⇒ Object
253
254
255
|
# File 'ext/gtk2/rbgdk.c', line 253
static VALUE
gdk_s_set_double_click_time(self, msec)
VALUE self, msec;
|
.set_locale ⇒ Object
37
38
39
|
# File 'ext/gtk2/rbgdk.c', line 37
static VALUE
gdk_s_set_locale(self)
VALUE self;
|
.set_program_class ⇒ Object
82
83
84
|
# File 'ext/gtk2/rbgdk.c', line 82
static VALUE
gdk_s_set_program_class(self, program_class)
VALUE self, program_class;
|
.set_sm_client_id ⇒ Object
44
45
46
|
# File 'ext/gtk2/rbgdk.c', line 44
static VALUE
gdk_s_set_sm_client_id(self, id)
VALUE self, id;
|
.set_x_error_handler ⇒ Object
145
146
147
|
# File 'ext/gtk2/rbgdk.c', line 145
static VALUE
gdk_s_set_x_error_handler(self)
VALUE self;
|
.set_x_io_error_handler ⇒ Object
159
160
161
|
# File 'ext/gtk2/rbgdk.c', line 159
static VALUE
gdk_s_set_x_io_error_handler(self)
VALUE self;
|
.target ⇒ Object
340
341
342
|
# File 'ext/gtk2/rbgdk.c', line 340
static VALUE
gdk_m_target(self)
VALUE self;
|
.windowing_directfb? ⇒ Boolean
329
330
331
|
# File 'ext/gtk2/rbgdk.c', line 329
static VALUE
gdk_s_windowing_directfb(self)
VALUE self;
|
.windowing_fb? ⇒ Boolean
307
308
309
|
# File 'ext/gtk2/rbgdk.c', line 307
static VALUE
gdk_s_windowing_fb(self)
VALUE self;
|
.windowing_quartz? ⇒ Boolean
318
319
320
|
# File 'ext/gtk2/rbgdk.c', line 318
static VALUE
gdk_s_windowing_quartz(self)
VALUE self;
|
.windowing_win32? ⇒ Boolean
296
297
298
|
# File 'ext/gtk2/rbgdk.c', line 296
static VALUE
gdk_s_windowing_win32(self)
VALUE self;
|
.windowing_x11? ⇒ Boolean
285
286
287
|
# File 'ext/gtk2/rbgdk.c', line 285
static VALUE
gdk_s_windowing_x11(self)
VALUE self;
|