Function
Pidginmake_scrollable
Declaration [src]
GtkWidget*
pidgin_make_scrollable (
GtkWidget* child,
GtkPolicyType hscrollbar_policy,
GtkPolicyType vscrollbar_policy,
GtkShadowType shadow_type,
int width,
int height
)
Parameters
child |
GtkWidget |
The child widget. |
|
The data is owned by the caller of the function. | |
hscrollbar_policy |
GtkPolicyType |
Horizontal scrolling policy. |
|
vscrollbar_policy |
GtkPolicyType |
Vertical scrolling policy. |
|
shadow_type |
GtkShadowType |
Shadow type. |
|
width |
int |
Desired widget width, or -1 for default. |
|
height |
int |
Desired widget height, or -1 for default. |
Return value
Returns: | GtkWidget |
A scrolled window with |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |