Constructor
GtkInfoBarnew_with_buttons
Declaration [src]
GtkWidget*
gtk_info_bar_new_with_buttons (
const gchar* first_button_text,
...
)
Description [src]
Creates a new GtkInfoBar
with buttons. Button text/response ID
pairs should be listed, with a NULL
pointer ending the list.
Button text can be either a stock ID such as GTK_STOCK_OK
, or
some arbitrary text. A response ID can be any positive number,
or one of the values in the GtkResponseType
enumeration. If the
user clicks one of these dialog buttons, GtkInfoBar will emit
the “response” signal with the corresponding response ID.
This constructor is not directly available to language bindings.
Parameters
first_button_text
-
Type:
const gchar*
Stock ID or text to go in first button, or
NULL
.The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ...
-
Type:
Response ID for first button, then additional buttons, ending with
NULL
.
Return value
Type: GtkWidget
A new GtkInfoBar
.
The data is owned by the called function. |