paint_expander


Description:


[ Version ( deprecated = true , deprecated_since = "3.0" , replacement = "render_expander" ) ]
public void paint_expander (Style style, Context cr, StateType state_type, Widget? widget, string? detail, int x, int y, ExpanderStyle expander_style)

Warning: paint_expander is deprecated since 3.0. Use render_expander.

Draws an expander as used in TreeView.

Note:

Use render_expander instead

x and y specify the center the expander. The size of the expander is determined by the “expander-size” style property of widget. (If widget is not specified or doesn’t have an “expander-size” property, an unspecified default size will be used, since the caller doesn't have sufficient information to position the expander, this is likely not useful.) The expander is expander_size pixels tall in the collapsed position and expander_size pixels wide in the expanded position.

Parameters:

style

a Style

cr

a Context

state_type

a state

widget

the widget

detail

a style detail

x

the x position to draw the expander at

y

the y position to draw the expander at

expander_style

the style to draw the expander in; determines whether the expander is collapsed, expanded, or in an intermediate state.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org