Back to Seed Clases

cairo


Classes

Interfaces

Structs

Unions

Enums

Struct cairo.RectangleInt

Import line: cairo = imports.gi.cairo;
GIR File: cairo-1.0.gir
C documentation: cairoRectangleInt
Struct : RectangleInt
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new cairo.RectangleInt ()
Create a new cairo.RectangleInt
Create a new cairo.RectangleInt
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
EvinceDocument.Document
Method
EvinceDocument.Document.misc_paint_one_page (Context cr, Widget widget, RectangleInt area, Border border, gboolean highlight, gboolean inverted_colors) : none
EvinceView.View
Method
get_page_extents (gint32 page, RectangleInt page_area, Border border) : gboolean
Gdk
Method
Gdk.cairo_rectangle (Context cr, RectangleInt rectangle) : none
Adds the given rectangle to the current path of cr.
Gdk
Method
Gdk.rectangle_intersect (RectangleInt src1, RectangleInt src2, Object out_values) : gboolean
Calculates the intersection of two rectangles.
Gdk
Method
Gdk.rectangle_union (RectangleInt src1, RectangleInt src2) : cairo.RectangleInt
Calculates the union of two rectangles.
Gdk.Screen
Method
get_monitor_geometry (gint32 monitor_num) : cairo.RectangleInt
Retrieves the GdkRectangle representing the size and position of
the individual monitor within the entire screen area.
Gdk.Window
Method
begin_paint_rect (RectangleInt rectangle) : none
A convenience wrapper around gdk_window_begin_paint_region() which
creates a rectangular region for you.
Gdk.Window
Method
get_frame_extents (RectangleInt rect) : none
Obtains the bounding box of the window, including window manager
titlebar/borders if any.
Gdk.Window
Method
invalidate_rect (RectangleInt rect, gboolean invalidate_children) : none
A convenience wrapper around gdk_window_invalidate_region() which
invalidates a rectangular region.
Gkbd
Method
Gkbd.preview_load_position () : cairo.RectangleInt
Gkbd
Method
Gkbd.preview_save_position (RectangleInt rect) : none
Gtk
Method
Gtk.draw_insertion_cursor (Widget widget, Context cr, RectangleInt location, gboolean is_primary, TextDirection direction, gboolean draw_arrow) : none
Draws a text caret on cr at location.
Gtk.CellArea
Method
activate (CellAreaContext context, Widget widget, RectangleInt cell_area, CellRendererState flags, gboolean edit_only) : gboolean
Activates area, usually by activating the currently focused
cell, however some subclasses which embed widgets in the area
can also activate a widget if it currently has the focus.
Gtk.CellArea
Method
activate_cell (Widget widget, CellRenderer renderer, Event event, RectangleInt cell_area, CellRendererState flags) : gboolean
This is used by GtkCellArea subclasses when handling events
to activate cells, the base GtkCellArea class activates cells
for keyboard events for free in its own GtkCellArea->activate()
implementation.
Gtk.CellArea
Method
event (CellAreaContext context, Widget widget, Event event, RectangleInt cell_area, CellRendererState flags) : gint32
Delegates event handling to a GtkCellArea.
Gtk.CellArea
Method
foreach_alloc (CellAreaContext context, Widget widget, RectangleInt cell_area, RectangleInt background_area, Function callback, void* callback_data) : none
Calls callback for every GtkCellRenderer in area with the
allocated rectangle inside cell_area.
Gtk.CellArea
Method
get_cell_allocation (CellAreaContext context, Widget widget, CellRenderer renderer, RectangleInt cell_area) : cairo.RectangleInt
Derives the allocation of renderer inside area if area
were to be renderered in cell_area.
Gtk.CellArea
Method
get_cell_at_position (CellAreaContext context, Widget widget, RectangleInt cell_area, gint32 x, gint32 y, Object out_values) : Gtk.CellRenderer
Gets the GtkCellRenderer at x and y coordinates inside area and optionally
returns the full cell allocation for it inside cell_area.
Gtk.CellArea
Method
inner_cell_area (Widget widget, RectangleInt cell_area) : cairo.RectangleInt
This is a convenience function for GtkCellArea implementations
to get the inner area where a given GtkCellRenderer will be
rendered.
Gtk.CellArea
Method
render (CellAreaContext context, Widget widget, Context cr, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags, gboolean paint_focus) : none
Renders area's cells according to area's layout onto widget at
the given coordinates.
Gtk.CellRenderer
Method
activate (Event event, Widget widget, String path, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags) : gboolean
Passes an activate event to the cell renderer for possible processing.
Gtk.CellRenderer
Method
get_aligned_area (Widget widget, CellRendererState flags, RectangleInt cell_area) : cairo.RectangleInt
Gets the aligned area used by cell inside cell_area.
Gtk.CellRenderer
Method
get_size (Widget widget, RectangleInt cell_area) : Object
Obtains the width and height needed to render the cell.
Gtk.CellRenderer
Method
render (Context cr, Widget widget, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags) : none
Invokes the virtual render function of the GtkCellRenderer.
Gtk.CellRenderer
Method
start_editing (Event event, Widget widget, String path, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags) : Gtk.CellEditable
Passes an activate event to the cell renderer for possible processing.
Gtk.Entry
Method
get_icon_area (EntryIconPosition icon_pos) : cairo.RectangleInt
Gets the area where entry's icon at icon_pos is drawn.
Gtk.Entry
Method
get_text_area () : cairo.RectangleInt
Gets the area where the entry's text is drawn.
Gtk.IMContext
Method
set_cursor_location (RectangleInt area) : none
Notify the input method that a change in cursor
position has been made.
Gtk.Range
Method
get_range_rect () : cairo.RectangleInt
This function returns the area that contains the range's trough
and its steppers, in widget->window coordinates.
Gtk.TextView
Method
get_cursor_locations (TextIter iter) : Object
Given an iter within a text layout, determine the positions of the
strong and weak cursors if the insertion point is at that
iterator.
Gtk.TextView
Method
get_iter_location (TextIter iter) : cairo.RectangleInt
Gets a rectangle which roughly contains the character at iter.
Gtk.TextView
Method
get_visible_rect () : cairo.RectangleInt
Fills visible_rect with the currently-visible
region of the buffer, in buffer coordinates.
Gtk.Tooltip
Method
set_tip_area (RectangleInt rect) : none
Sets the area of the widget, where the contents of this tooltip apply,
to be rect (in widget coordinates).
Gtk.TreeView
Method
get_background_area (TreePath path, TreeViewColumn column) : cairo.RectangleInt
Fills the bounding rectangle in bin_window coordinates for the cell at the
row specified by path and the column specified by column.
Gtk.TreeView
Method
get_cell_area (TreePath path, TreeViewColumn column) : cairo.RectangleInt
Fills the bounding rectangle in bin_window coordinates for the cell at the
row specified by path and the column specified by column.
Gtk.TreeView
Method
get_visible_rect () : cairo.RectangleInt
Fills visible_rect with the currently-visible region of the
buffer, in tree coordinates.
Gtk.TreeViewColumn
Method
cell_get_size (RectangleInt cell_area) : Object
Obtains the width and height needed to render the column.
Gtk.Widget
Method
get_allocation () : cairo.RectangleInt
Retrieves the widget's allocation.
Gtk.Widget
Method
intersect (RectangleInt area, RectangleInt intersection) : gboolean
Computes the intersection of a widget's area and area, storing
the intersection in intersection, and returns TRUE if there was
an intersection.
Gtk.Widget
Method
set_allocation (RectangleInt allocation) : none
Sets the widget's allocation.
Gtk.Widget
Method
size_allocate (RectangleInt allocation) : none
This function is only used by GtkContainer subclasses, to assign a size
and position to their child widgets.
GtkSource.GutterRenderer
Method
activate (TextIter iter, RectangleInt area, Event event) : none
GtkSource.GutterRenderer
Method
begin (Context cr, RectangleInt background_area, RectangleInt cell_area, TextIter start, TextIter end) : none
GtkSource.GutterRenderer
Method
draw (Context cr, RectangleInt background_area, RectangleInt cell_area, TextIter start, TextIter end, GutterRendererState state) : none
GtkSource.GutterRenderer
Method
query_activatable (TextIter iter, RectangleInt area, Event event) : gboolean
GtkSource.GutterRenderer
Method
query_tooltip (TextIter iter, RectangleInt area, gint32 x, gint32 y, Tooltip tooltip) : gboolean
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:18:10 GMT+0800 (HKT)