InfoBar.with_buttons


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public InfoBar.with_buttons (...)

Creates a new InfoBar 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 ResponseType enumeration. If the user clicks one of these dialog buttons, GtkInfoBar will emit the “response” signal with the corresponding response ID.

Parameters:

...

response ID for first button, then additional buttons, ending with null

first_button_text

stock ID or text to go in first button, or null

Returns:

a new InfoBar