Method GTK2.Style()->paint_expander()
- Method
paint_expander
GTK2.Style
paint_expander(GTK2.Widget
window
,int
state
,GTK2.GdkRectangle
rect
,GTK2.Widget
widget
,string
detail
,int
x
,int
y
,int
style
)- Description
Draws an expander as used in GTK2.TreeView. x and y specify the center of the expander. The size of the expander is determined by the "expander-size" style property of widget. (If widget is 0 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.