Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Struct Gdk.Atom

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-3.0.gir
C documentation: GdkAtom
Struct : Atom
An opaque type representing a string as an index into a table
of strings on the X server.
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gdk
Method
Gdk.atom_intern (String atom_name, gboolean only_if_exists) : Gdk.Atom
Finds or creates an atom corresponding to a given string.
Gdk
Method
Gdk.atom_intern_static_string (String atom_name) : Gdk.Atom
Finds or creates an atom corresponding to a given string.
Gdk
Method
Gdk.atom_name (Atom atom) : String
Determines the string corresponding to an atom.
Gdk
Method
Gdk.drag_get_selection (DragContext context) : Gdk.Atom
Returns the selection atom for the current source window.
Gdk
Method
Gdk.property_delete (Window window, Atom property) : none
Deletes a property from a window.
Gdk
Method
Gdk.property_get (Window window, Atom property, Atom type, guint32 offset, guint32 length, gint32 pdelete, Object out_values) : gboolean
Retrieves a portion of the contents of a property.
Gdk
Method
Gdk.selection_convert (Window requestor, Atom selection, Atom target, guint32 time_) : none
Retrieves the contents of a selection in a given
form.
Gdk
Method
Gdk.selection_owner_get (Atom selection) : Gdk.Window
Determines the owner of the given selection.
Gdk
Method
Gdk.selection_owner_get_for_display (Display display, Atom selection) : Gdk.Window
Determine the owner of the given selection.
Gdk
Method
Gdk.selection_owner_set (Window owner, Atom selection, guint32 time_, gboolean send_event) : gboolean
Sets the owner of the given selection.
Gdk
Method
Gdk.selection_owner_set_for_display (Display display, Window owner, Atom selection, guint32 time_, gboolean send_event) : gboolean
Sets the GdkWindow owner as the current owner of the selection selection.
Gdk
Method
Gdk.selection_send_notify (Window requestor, Atom selection, Atom target, Atom property, guint32 time_) : none
Sends a response to SelectionRequest event.
Gdk
Method
Gdk.selection_send_notify_for_display (Display display, Window requestor, Atom selection, Atom target, Atom property, guint32 time_) : none
Send a response to SelectionRequest event.
Gdk
Method
Gdk.text_property_to_utf8_list_for_display (Display display, Atom encoding, gint32 format, String text, gint32 length, Object out_values) : gint32
Converts a text property in the given encoding to
a list of UTF-8 strings.
Gdk.Display
Method
request_selection_notification (Atom selection) : gboolean
Request GdkEventOwnerChange events for ownership changes
of the selection named by the given atom.
GdkX11.X11Display
Method
GdkX11.X11Display.text_property_to_text_list (Display display, Atom encoding, gint32 format, guint8 text, gint32 length, String list) : gint32
Convert a text string from the encoding as it is stored
in a property into an array of strings in the encoding of
the current locale.
GdkX11.X11Screen
Method
GdkX11.X11Screen.supports_net_wm_hint (Screen screen, Atom property) : gboolean
This function is specific to the X11 backend of GDK, and indicates
whether the window manager supports a certain hint from the
Extended Window Manager Hints Specification.
Gtk
Method
Gtk.selection_add_target (Widget widget, Atom selection, Atom target, guint32 info) : none
Appends a specified target to the list of supported targets for a
given widget and selection.
Gtk
Method
Gtk.selection_add_targets (Widget widget, Atom selection, Array targets, guint32 ntargets) : none
Prepends a table of targets to the list of supported targets
for a given widget and selection.
Gtk
Method
Gtk.selection_clear_targets (Widget widget, Atom selection) : none
Remove all targets registered for the given selection for the
widget.
Gtk
Method
Gtk.selection_convert (Widget widget, Atom selection, Atom target, guint32 time_) : gboolean
Requests the contents of a selection.
Gtk
Method
Gtk.selection_owner_set (Widget widget, Atom selection, guint32 time_) : gboolean
Claims ownership of a given selection for a particular widget,
or, if widget is NULL, release ownership of the selection.
Gtk
Method
Gtk.selection_owner_set_for_display (Display display, Widget widget, Atom selection, guint32 time_) : gboolean
Claim ownership of a given selection for a particular widget, or,
if widget is NULL, release ownership of the selection.
Gtk.Clipboard
Method
Gtk.Clipboard.get (Atom selection) : Gtk.Clipboard
Returns the clipboard object for the given selection.
Gtk.Clipboard
Method
Gtk.Clipboard.get_for_display (Display display, Atom selection) : Gtk.Clipboard
Returns the clipboard object for the given selection.
Gtk.Clipboard
Method
request_contents (Atom target, Function callback, void* user_data) : none
Requests the contents of clipboard as the given target.
Gtk.Clipboard
Method
wait_for_contents (Atom target) : Gtk.SelectionData
Requests the contents of the clipboard using the given target.
Gtk.Clipboard
Method
wait_is_target_available (Atom target) : gboolean
Checks if a clipboard supports pasting data of a given type.
Gtk.SelectionData
Method
get_data_type () : Gdk.Atom
Retrieves the data type of the selection.
Gtk.SelectionData
Method
get_selection () : Gdk.Atom
Retrieves the selection GdkAtom of the selection data.
Gtk.SelectionData
Method
get_target () : Gdk.Atom
Retrieves the target of the selection.
Gtk.SelectionData
Method
set (Atom type, gint32 format, String data, gint32 length) : none
Stores new data into a GtkSelectionData object.
Gtk.TargetList
Method
add (Atom target, guint32 flags, guint32 info) : none
Appends another target to a GtkTargetList.
Gtk.TargetList
Method
find (Atom target, guint32 info) : gboolean
Looks up a given target in a GtkTargetList.
Gtk.TargetList
Method
remove (Atom target) : none
Removes a target from a target list.
Gtk.TextBuffer
Method
deserialize (TextBuffer content_buffer, Atom format, TextIter iter, String data, guint32 length) : gboolean
This function deserializes rich text in format format and inserts
it at iter.
Gtk.TextBuffer
Method
deserialize_get_can_create_tags (Atom format) : gboolean
This functions returns the value set with
gtk_text_buffer_deserialize_set_can_create_tags()
Gtk.TextBuffer
Method
deserialize_set_can_create_tags (Atom format, gboolean can_create_tags) : none
Use this function to allow a rich text deserialization function to
create new tags in the receiving buffer.
Gtk.TextBuffer
Method
register_deserialize_format (String mime_type, Function function, void* user_data, Function user_data_destroy) : Gdk.Atom
This function registers a rich text deserialization function along with
its mime_type with the passed buffer.
Gtk.TextBuffer
Method
register_deserialize_tagset (String tagset_name) : Gdk.Atom
This function registers GTK+'s internal rich text serialization
format with the passed buffer.
Gtk.TextBuffer
Method
register_serialize_format (String mime_type, Function function, void* user_data, Function user_data_destroy) : Gdk.Atom
This function registers a rich text serialization function along with
its mime_type with the passed buffer.
Gtk.TextBuffer
Method
register_serialize_tagset (String tagset_name) : Gdk.Atom
This function registers GTK+'s internal rich text serialization
format with the passed buffer.
Gtk.TextBuffer
Method
serialize (TextBuffer content_buffer, Atom format, TextIter start, TextIter end, Object out_values) : String
This function serializes the portion of text between start
and end in the rich text format represented by format.
Gtk.TextBuffer
Method
unregister_deserialize_format (Atom format) : none
This function unregisters a rich text format that was previously
registered using gtk_text_buffer_register_deserialize_format() or
gtk_text_buffer_register_deserialize_tagset().
Gtk.TextBuffer
Method
unregister_serialize_format (Atom format) : none
This function unregisters a rich text format that was previously
registered using gtk_text_buffer_register_serialize_format() or
gtk_text_buffer_register_serialize_tagset()
Gtk.Widget
Method
drag_dest_find_target (DragContext context, TargetList target_list) : Gdk.Atom
Looks for a match between the supported targets of context and the
returning GDK_NONE.
Gtk.Widget
Method
drag_get_data (DragContext context, Atom target, guint32 time_) : none
Get the data for a drag or drop
Gtk.Widget
Method
get_clipboard (Atom selection) : Gtk.Clipboard
Returns the clipboard object for the given selection to
be used with widget.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:56 GMT+0800 (HKT)