Constructor
Gtk.InfoBar.new_with_buttons
Declaration [src]
GtkWidget*
gtk_info_bar_new_with_buttons (
const char* 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. 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 GtkInfoBar::response
signal with the corresponding
response ID.
Parameters
first_button_text |
const char* |
ext to go in first button, or |
|
Can be NULL | |
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
... |
|
response ID for first button, then additional buttons, ending
with |
Return value
Returns: GtkWidget |
|
a new |
|
Ownership is not transferred to the caller |