Import line: | cairo = imports.gi.cairo; |
GIR File: | cairo-1.0.gir |
C documentation: | cairoRectangleInt |
Struct : | RectangleInt |
Properties | Defined By | |
---|---|---|
height : gint32
|
cairo.RectangleInt | |
width : gint32
|
cairo.RectangleInt | |
x : gint32
|
cairo.RectangleInt | |
y : gint32
|
cairo.RectangleInt |
Method / Constructor | Defined By | |
---|---|---|
new cairo.RectangleInt
()
Create a new cairo.RectangleInt
Create a new cairo.RectangleInt
|
None |
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 |
|
Gdk
Method |
Adds the given rectangle to the current path of cr.
|
Gdk
Method |
Calculates the intersection of two rectangles.
|
Gdk
Method |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
|
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 |
|
GtkSource.GutterRenderer
Method |
|