Go package:gtk

The type constant to check if an instance is of GObject type.
Convert a polygon into a Region.
Safe upcast.
Creates a new PangoContext with the appropriate colormap, font description, and base direction for drawing text for this widget. See also widgetGetPangoContext.
Gets a PangoContext with the appropriate font description and base direction for this widget. Unlike the context returned by widgetCreatePangoContext, this context is owned by the widget (it can be used until the screen for the widget changes or the widget is removed from its toplevel), and will be updated to match any changes to the widget's attributes. If you create and keep a PangoLayout using this context, you must deal with changes to the context by calling layoutContextChanged on the layout in response to the onStyleChanged and onDirectionChanged signals for the widget.
Draws an outlined or filled polygon.
  • The polygon is closed automatically, connecting the last point to the first point if necessary.
Creates a new Context that can be used with the PrintContext.
Creates a new PangoLayout that is suitable for use with the PrintContext.
Returns a FontMap that is suitable for use with the PrintContext.
The gotPageSize signal is emitted once for each page that gets rendered to the preview. A handler for this signal should update the context according to pageSetup and set up a suitable cairo context, using printContextSetCairoContext.
Returns the pixbuf displayed as logo in the about dialog.