Gtk2::Gdk.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Gtk2::Gdk

METHODS

atom = Gtk2::Gdk->SELECTION_CLIPBOARD

atom = Gtk2::Gdk->SELECTION_PRIMARY

atom = Gtk2::Gdk->SELECTION_SECONDARY

atom = Gtk2::Gdk->SELECTION_TYPE_ATOM

atom = Gtk2::Gdk->SELECTION_TYPE_BITMAP

atom = Gtk2::Gdk->SELECTION_TYPE_COLORMAP

atom = Gtk2::Gdk->SELECTION_TYPE_DRAWABLE

atom = Gtk2::Gdk->SELECTION_TYPE_INTEGER

atom = Gtk2::Gdk->SELECTION_TYPE_PIXMAP

atom = Gtk2::Gdk->SELECTION_TYPE_STRING

atom = Gtk2::Gdk->SELECTION_TYPE_WINDOW

atom = Gtk2::Gdk->TARGET_BITMAP

atom = Gtk2::Gdk->TARGET_COLORMAP

atom = Gtk2::Gdk->TARGET_DRAWABLE

atom = Gtk2::Gdk->TARGET_PIXMAP

atom = Gtk2::Gdk->TARGET_STRING

Gtk2::Gdk->beep

window = Gtk2::Gdk->get_default_root_window

list = Gtk2::Gdk->devices_list

Returns a list of GdkDevices.

string = Gtk2::Gdk->get_display_arg_name

Since: gtk+ 2.2

string = Gtk2::Gdk->get_display

integer = Gtk2::Gdk->error_trap_pop

Gtk2::Gdk->error_trap_push

boolean = Gtk2::Gdk->events_pending

Gtk2::Gdk->flush

boolean = Gtk2::Gdk->init

boolean = Gtk2::Gdk->init_check

grabstatus = Gtk2::Gdk->keyboard_grab ($window, $owner_events, $time_)

*
$window (Gtk2::Gdk::Window)
*
$owner_events (boolean)
*
$time_ (unsigned)

Gtk2::Gdk->keyboard_ungrab ($time_)

*
$time_ (unsigned)

(lower, upper) = Gtk2::Gdk::Keyval->convert_case ($symbol)

*
$symbol (integer)

integer = Gtk2::Gdk->keyval_from_name ($keyval_name)

*
$keyval_name (string)

boolean = Gtk2::Gdk->keyval_is_lower ($keyval)

*
$keyval (integer)

boolean = Gtk2::Gdk->keyval_is_upper ($keyval)

*
$keyval (integer)

string = Gtk2::Gdk->keyval_name ($keyval)

*
$keyval (integer)

integer = Gtk2::Gdk->keyval_to_lower ($keyval)

*
$keyval (integer)

unsigned = Gtk2::Gdk->keyval_to_unicode ($keyval)

*
$keyval (integer)

integer = Gtk2::Gdk->keyval_to_upper ($keyval)

*
$keyval (integer)

list = Gtk2::Gdk->list_visuals

string = Gtk2::Gdk->set_locale

Gtk2::Gdk->notify_startup_complete

Since: gtk+ 2.2

Gtk2::Gdk->notify_startup_complete_with_id ($startup_id)

*
$startup_id (string)

Since: gtk+ 2.12

Gtk2::Gdk->parse_args

Since: gtk+ 2.2

grabstatus = Gtk2::Gdk->pointer_grab ($window, $owner_events, $event_mask, $confine_to, $cursor, $time_)

*
$window (Gtk2::Gdk::Window)
*
$owner_events (boolean)
*
$event_mask (Gtk2::Gdk::EventMask)
*
$confine_to (Gtk2::Gdk::Window or undef)
*
$cursor (Gtk2::Gdk::Cursor or undef)
*
$time_ (unsigned)

boolean = Gtk2::Gdk->pointer_is_grabbed

Gtk2::Gdk->pointer_ungrab ($time_)

*
$time_ (unsigned)

string = Gtk2::Gdk->get_program_class

Gtk2::Gdk->set_program_class ($program_class)

*
$program_class (string)

list = Gtk2::Gdk->query_depths

Returns a list of depths.

list = Gtk2::Gdk->query_visual_types

integer = Gtk2::Gdk->screen_height

integer = Gtk2::Gdk->screen_height_mm

integer = Gtk2::Gdk->screen_width

integer = Gtk2::Gdk->screen_width_mm

scalar = Gtk2::Gdk->setting_get ($name)

*
$name (string)

boolean = Gtk2::Gdk->get_show_events

Gtk2::Gdk->set_show_events ($show_events)

*
$show_events (boolean)

Gtk2::Gdk->set_sm_client_id ($sm_client_id=undef)

*
$sm_client_id (string or undef)

list = Gtk2::Gdk->string_to_compound_text ($str)

*
$str (string)

Returns a list of strings.

list = Gtk2::Gdk->string_to_compound_text_for_display ($display, $str)

*
$display (Gtk2::Gdk::Display)
*
$str (string)

Returns a list of strings.
Since: gtk+ 2.2

list = Gtk2::Gdk->text_property_to_text_list ($encoding, $format, $text)

*
$encoding (Gtk2::Gdk::Atom)
*
$format (integer)
*
$text (scalar)

Returns a list of strings.

list = Gtk2::Gdk->text_property_to_text_list_for_display ($display, $encoding, $format, $text)

*
$display (Gtk2::Gdk::Display)
*
$encoding (Gtk2::Gdk::Atom)
*
$format (integer)
*
$text (scalar)

Returns a list of strings.
Since: gtk+ 2.2

list = Gtk2::Gdk->text_property_to_utf8_list ($encoding, $format, $text)

*
$encoding (Gtk2::Gdk::Atom)
*
$format (integer)
*
$text (scalar)

Returns a list of strings.

list = Gtk2::Gdk->text_property_to_utf8_list_for_display ($display, $encoding, $format, $text)

*
$display (Gtk2::Gdk::Display)
*
$encoding (Gtk2::Gdk::Atom)
*
$format (integer)
*
$text (scalar)

Returns a list of strings.
Since: gtk+ 2.2

integer = Gtk2::Gdk->unicode_to_keyval ($wc)

*
$wc (unsigned)

list = Gtk2::Gdk->utf8_to_compound_text ($str)

*
$str (string)

Returns a list of strings.

list = Gtk2::Gdk->utf8_to_compound_text_for_display ($display, $str)

*
$display (Gtk2::Gdk::Display)
*
$str (string)

Returns a list of strings.
Since: gtk+ 2.2

string or undef = Gtk2::Gdk->utf8_to_string_target ($str)

*
$str (string)

Returns a list of strings.

ENUMS AND FLAGS

flags Gtk2::Gdk::EventMask

*
'exposure-mask' / 'GDK_EXPOSURE_MASK'
*
'pointer-motion-mask' / 'GDK_POINTER_MOTION_MASK'
*
'pointer-motion-hint-mask' / 'GDK_POINTER_MOTION_HINT_MASK'
*
'button-motion-mask' / 'GDK_BUTTON_MOTION_MASK'
*
'button1-motion-mask' / 'GDK_BUTTON1_MOTION_MASK'
*
'button2-motion-mask' / 'GDK_BUTTON2_MOTION_MASK'
*
'button3-motion-mask' / 'GDK_BUTTON3_MOTION_MASK'
*
'button-press-mask' / 'GDK_BUTTON_PRESS_MASK'
*
'button-release-mask' / 'GDK_BUTTON_RELEASE_MASK'
*
'key-press-mask' / 'GDK_KEY_PRESS_MASK'
*
'key-release-mask' / 'GDK_KEY_RELEASE_MASK'
*
'enter-notify-mask' / 'GDK_ENTER_NOTIFY_MASK'
*
'leave-notify-mask' / 'GDK_LEAVE_NOTIFY_MASK'
*
'focus-change-mask' / 'GDK_FOCUS_CHANGE_MASK'
*
'structure-mask' / 'GDK_STRUCTURE_MASK'
*
'property-change-mask' / 'GDK_PROPERTY_CHANGE_MASK'
*
'visibility-notify-mask' / 'GDK_VISIBILITY_NOTIFY_MASK'
*
'proximity-in-mask' / 'GDK_PROXIMITY_IN_MASK'
*
'proximity-out-mask' / 'GDK_PROXIMITY_OUT_MASK'
*
'substructure-mask' / 'GDK_SUBSTRUCTURE_MASK'
*
'scroll-mask' / 'GDK_SCROLL_MASK'
*
'all-events-mask' / 'GDK_ALL_EVENTS_MASK'

enum Gtk2::Gdk::GrabStatus

*
'success' / 'GDK_GRAB_SUCCESS'
*
'already-grabbed' / 'GDK_GRAB_ALREADY_GRABBED'
*
'invalid-time' / 'GDK_GRAB_INVALID_TIME'
*
'not-viewable' / 'GDK_GRAB_NOT_VIEWABLE'
*
'frozen' / 'GDK_GRAB_FROZEN'

SEE ALSO

Gtk2 Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.