Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Struct Gdk.Atom

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-2.0.gir
C documentation: GdkAtom
Struct : Atom
  Show / Hide Inherited methods, properties and signals
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Epiphany.EggToolbarsModel
Method
get_name (Atom type, String data, Boolean create) : String
Epiphany.EggToolbarsModel
Method
get_data (Atom type, String name) : String
Gdk
Method
Gdk.add_client_message_filter (Atom message_type, Function func, void* data) : none
Adds a filter to the default display to be called when X ClientMessage events are received.
Gdk
Method
Gdk.atom_intern (String atom_name, Boolean only_if_exists) : Gdk.Atom
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.drag_get_selection (DragContext context) : Gdk.Atom
Returns the selection atom for the current source window.
Gdk
Method
Gdk.property_change (Window window, Atom property, Atom type, Number format, PropMode mode, String data, Number nelements) : none
Gdk
Method
Gdk.property_delete (Window window, Atom property) : none
Gdk
Method
Gdk.property_get (Window window, Atom property, Atom type, Number offset, Number length, Number pdelete, Atom actual_property_type, Object out_values) : Boolean
Gdk
Method
Gdk.selection_convert (Window requestor, Atom selection, Atom target, Number time_) : none
Gdk
Method
Gdk.selection_owner_get (Atom selection) : Gdk.Window
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, Number time_, Boolean send_event) : Boolean
Gdk
Method
Gdk.selection_owner_set_for_display (Display display, Window owner, Atom selection, Number time_, Boolean send_event) : Boolean
Sets the GdkWindow owner as the current owner of the selection selection.
Gdk
Method
Gdk.selection_property_get (Window requestor, Object out_values, Atom prop_type) : Number
Retrieves selection data that was stored by the selection data in response to a call to gdk_selection_convert().
Gdk
Method
Gdk.selection_send_notify (Number requestor, Atom selection, Atom target, Atom property, Number time_) : none
Gdk
Method
Gdk.selection_send_notify_for_display (Display display, Number requestor, Atom selection, Atom target, Atom property, Number time_) : none
Send a response to SelectionRequest event.
Gdk
Method
Gdk.string_to_compound_text (String str, Atom encoding, Object out_values) : Number
Gdk
Method
Gdk.string_to_compound_text_for_display (Display display, String str, Atom encoding, Object out_values) : Number
Convert a string from the encoding of the current locale into a form suitable for storing in a window property.
Gdk
Method
Gdk.text_property_to_text_list (Atom encoding, Number format, String text, Number length, String list) : Number
Gdk
Method
Gdk.text_property_to_text_list_for_display (Display display, Atom encoding, Number format, String text, Number length, String list) : Number
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.
Gdk
Method
Gdk.text_property_to_utf8_list (Atom encoding, Number format, String text, Number length, String list) : Number
Convert a text property in the giving encoding to a list of UTF-8 strings.
Gdk
Method
Gdk.text_property_to_utf8_list_for_display (Display display, Atom encoding, Number format, String text, Number length, String list) : Number
Converts a text property in the given encoding to a list of UTF-8 strings.
Gdk
Method
Gdk.utf8_to_compound_text (String str, Atom encoding, Object out_values) : Boolean
Convert from UTF-8 to compound text.
Gdk
Method
Gdk.utf8_to_compound_text_for_display (Display display, String str, Atom encoding, Object out_values) : Boolean
Converts from UTF-8 to compound text.
Gdk.Display
Method
add_client_message_filter (Atom message_type, Function func, void* data) : none
Adds a filter to be called when X ClientMessage events are received.
Gdk.Display
Method
request_selection_notification (Atom selection) : Boolean
Request GdkEventOwnerChange events for ownership changes of the selection named by the given atom.
Gdk.Display
Method
store_clipboard (Window clipboard_window, Number time_, Atom targets, Number n_targets) : none
Gtk
Method
Gtk.drag_dest_find_target (Widget widget, DragContext context, TargetList target_list) : Gdk.Atom
Looks for a match between context->targets and the returning GDK_NONE.
Gtk
Method
Gtk.drag_get_data (Widget widget, DragContext context, Atom target, Number time_) : none
Gtk
Method
Gtk.selection_add_target (Widget widget, Atom selection, Atom target, Number 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, TargetEntry targets, Number 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, Number time_) : Boolean
Requests the contents of a selection.
Gtk
Method
Gtk.selection_owner_set (Widget widget, Atom selection, Number time_) : Boolean
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, Number time_) : Boolean
Claim ownership of a given selection for a particular widget, or, if widget is NULL, release ownership of the selection.
Gtk
Method
Gtk.targets_include_image (Atom targets, Number n_targets, Boolean writable) : Boolean
Determines if any of the targets in targets can be used to provide a GdkPixbuf.
Gtk
Method
Gtk.targets_include_rich_text (Atom targets, Number n_targets, TextBuffer buffer) : Boolean
Determines if any of the targets in targets can be used to provide rich text.
Gtk
Method
Gtk.targets_include_text (Atom targets, Number n_targets) : Boolean
Determines if any of the targets in targets can be used to provide text.
Gtk
Method
Gtk.targets_include_uri (Atom targets, Number n_targets) : Boolean
Determines if any of the targets in targets can be used to provide an uri list.
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
Gtk.Clipboard.get (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_for_rich_text (TextBuffer buffer, Atom format, Object out_values) : String
Requests the contents of the clipboard as rich text.
Gtk.Clipboard
Method
wait_for_targets (Atom targets, Object out_values) : Boolean
Gtk.Clipboard
Method
wait_is_target_available (Atom target) : Boolean
Checks if a clipboard supports pasting data of a given type.
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
get_data_type () : Gdk.Atom
Retrieves the data type of the selection.
Gtk.SelectionData
Method
set (Atom type, Number format, String data, Number length) : none
Stores new data into a GtkSelectionData object.
Gtk.SelectionData
Method
get_targets (Atom targets, Object out_values) : Boolean
Gets the contents of selection_data as an array of targets.
Gtk.TargetList
Method
add (Atom target, Number flags, Number info) : none
Appends another target to a GtkTargetList.
Gtk.TargetList
Method
remove (Atom target) : none
Removes a target from a target list.
Gtk.TargetList
Method
find (Atom target, Object out_values) : Boolean
Looks up a given target in a GtkTargetList.
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
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
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.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
deserialize_set_can_create_tags (Atom format, Boolean 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
deserialize_get_can_create_tags (Atom format) : Boolean
This functions returns the value set with gtk_text_buffer_deserialize_set_can_create_tags()
Gtk.TextBuffer
Method
get_serialize_formats (Object out_values) : Gdk.Atom
This function returns the rich text serialize formats registered with buffer using gtk_text_buffer_register_serialize_format() or gtk_text_buffer_register_serialize_tagset() formats.
Gtk.TextBuffer
Method
get_deserialize_formats (Object out_values) : Gdk.Atom
This function returns the rich text deserialize formats registered with buffer using gtk_text_buffer_register_deserialize_format() or gtk_text_buffer_register_deserialize_tagset() formats.
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
deserialize (TextBuffer content_buffer, Atom format, TextIter iter, String data, Number length) : Boolean
This function deserializes rich text in format format and inserts it at iter.
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 Tue Jun 22 2010 16:33:24 GMT+0800 (HKT)