Packages
gtk+-3.0
Gtk
MenuItem
accel_path
label
right_justified
submenu
use_underline
MenuItem
MenuItem.with_label
MenuItem.with_mnemonic
get_accel_path
get_label
get_reserve_indicator
get_right_justified
get_submenu
get_use_underline
set_accel_path
set_label
set_reserve_indicator
set_right_justified
set_submenu
set_use_underline
activate
activate_item
deselect
select
toggle_size_allocate
toggle_size_request
MenuItem.with_label
Description:
[
CCode
( has_construct_function =
false
, type =
"GtkWidget*"
) ]
public
MenuItem.with_label
(
string
label)
Creates a new
MenuItem
whose child is a
Label
.
Parameters:
label
the text for the label
Returns:
the newly created
MenuItem