Dazzle.MenuButton – libdazzle-1.0 Reference Manual
MenuButton
Object Hierarchy:
Dazzle.MenuButton
Dazzle.MenuButton
Dazzle.MenuButton
Gtk.MenuButton
Gtk.MenuButton
Gtk.MenuButton->Dazzle.MenuButton
Gtk.ToggleButton
Gtk.ToggleButton
Gtk.ToggleButton->Gtk.MenuButton
Gtk.Button
Gtk.Button
Gtk.Button->Gtk.ToggleButton
Gtk.Bin
Gtk.Bin
Gtk.Bin->Gtk.Button
Gtk.Container
Gtk.Container
Gtk.Container->Gtk.Bin
Gtk.Widget
Gtk.Widget
Gtk.Widget->Gtk.Container
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gtk.Widget
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Atk.Implementor
Atk.Implementor
Atk.Implementor->Dazzle.MenuButton
Atk.Implementor->Gtk.MenuButton
Atk.Implementor->Gtk.ToggleButton
Atk.Implementor->Gtk.Button
Atk.Implementor->Gtk.Bin
Atk.Implementor->Gtk.Container
Atk.Implementor->Gtk.Widget
Gtk.Buildable
Gtk.Buildable
Gtk.Buildable->Dazzle.MenuButton
Gtk.Buildable->Gtk.MenuButton
Gtk.Buildable->Gtk.ToggleButton
Gtk.Buildable->Gtk.Button
Gtk.Buildable->Gtk.Bin
Gtk.Buildable->Gtk.Container
Gtk.Buildable->Gtk.Widget
Gtk.Actionable
Gtk.Actionable
Gtk.Actionable->Dazzle.MenuButton
Gtk.Actionable->Gtk.MenuButton
Gtk.Actionable->Gtk.ToggleButton
Gtk.Actionable->Gtk.Button
Gtk.Activatable
Gtk.Activatable
Gtk.Activatable->Dazzle.MenuButton
Gtk.Activatable->Gtk.MenuButton
Gtk.Activatable->Gtk.ToggleButton
Gtk.Activatable->Gtk.Button
Description:
[
CCode
( type_id =
"dzl_menu_button_get_type ()"
) ]
public
class
MenuButton
:
MenuButton
,
Implementor
,
Actionable
,
Activatable
,
Buildable
Namespace:
Dazzle
Package:
libdazzle-1.0
Content:
Properties:
public
string
icon_name
{
set
; }
public
string
menu_id
{
set
; }
The "menu-id" property can be used to automatically load a
MenuModel
from the applications merged menus.
public
MenuModel
model
{
get
;
set
; }
public
bool
show_accels
{
get
;
set
; }
public
bool
show_arrow
{
get
;
set
; }
public
bool
show_icons
{
get
;
set
; }
public
bool
transitions_enabled
{
get
;
set
; }
Creation methods:
protected
MenuButton
()
public
MenuButton.with_model
(
string
icon_name,
MenuModel
? model)
Creates a new
MenuButton
with the icon
icon_name
and the menu contents of
model
.
Methods:
public
unowned
MenuModel
?
get_model
()
public
bool
get_show_accels
()
public
bool
get_show_arrow
()
public
bool
get_show_icons
()
public
void
set_model
(
MenuModel
model)
public
void
set_show_accels
(
bool
show_accels)
Sets the
show_accels
property.
public
void
set_show_arrow
(
bool
show_arrow)
Sets the
show_arrow
property.
public
void
set_show_icons
(
bool
show_icons)
Sets the
show_icons
property.
Inherited Members:
All known members inherited from class Gtk.MenuButton
align_widget
direction
get_align_widget
get_direction
get_menu_model
get_popover
get_popup
get_use_popover
menu_model
popover
popup
set_align_widget
set_direction
set_menu_model
set_popover
set_popup
set_use_popover
use_popover
All known members inherited from class Gtk.ToggleButton
active
draw_indicator
get_active
get_inconsistent
get_mode
inconsistent
set_active
set_inconsistent
set_mode
toggled
All known members inherited from class Gtk.Button
activate
always_show_image
clicked
enter
get_alignment
get_always_show_image
get_event_window
get_focus_on_click
get_image
get_image_position
get_label
get_relief
get_use_stock
get_use_underline
image
image_position
label
leave
pressed
released
relief
set_alignment
set_always_show_image
set_focus_on_click
set_image
set_image_position
set_label
set_relief
set_use_stock
set_use_underline
use_stock
use_underline
xalign
yalign
All known members inherited from class Gtk.Bin
get_child
All known members inherited from class Gtk.Container
@foreach
add
add_with_properties
border_width
check_resize
child
child_get
child_get_property
child_get_valist
child_notify
child_notify_by_pspec
child_set
child_set_property
child_set_valist
child_type
class_find_child_property
class_list_child_properties
composite_name
find_child_property
forall
forall_internal
get_border_width
get_child_property
get_children
get_focus_chain
get_focus_child
get_focus_hadjustment
get_focus_vadjustment
get_path_for_child
get_resize_mode
handle_border_width
install_child_properties
install_child_property
list_child_properties
propagate_draw
remove
resize_children
resize_mode
set_border_width
set_child_property
set_focus_chain
set_focus_child
set_focus_hadjustment
set_focus_vadjustment
set_reallocate_redraws
set_resize_mode
unset_focus_chain
All known members inherited from class Gtk.Widget
accel_closures_changed
activate
add_accelerator
add_device_events
add_events
add_mnemonic_label
add_tick_callback
adjust_baseline_allocation
adjust_baseline_request
adjust_size_allocation
adjust_size_request
app_paintable
bind_template_callback_full
bind_template_child_full
button_press_event
button_release_event
can_activate_accel
can_default
can_focus
child_focus
child_notify
class_path
composite_child
composited_changed
compute_expand
compute_expand_internal
configure_event
create_pango_context
create_pango_layout
damage_event
delete_event
destroy
destroy_event
destroyed
device_is_shadowed
direction_changed
dispatch_child_properties_changed
double_buffered
drag_begin
drag_data_delete
drag_data_get
drag_data_received
drag_drop
drag_end
drag_failed
drag_leave
drag_motion
draw
draw_to_cairo_context
ensure_style
enter_notify_event
error_bell
event
event_after
events
expand
find_style_property
focus
focus_in_event
focus_on_click
focus_out_event
freeze_child_notify
get_accessible
get_action_group
get_allocated_baseline
get_allocated_height
get_allocated_size
get_allocated_width
get_allocation
get_ancestor
get_app_paintable
get_can_default
get_can_focus
get_child_requisition
get_child_visible
get_clip
get_clipboard
get_composite_name
get_css_name
get_default_direction
get_default_style
get_device_enabled
get_device_events
get_direction
get_display
get_double_buffered
get_events
get_focus_on_click
get_font_map
get_font_options
get_frame_clock
get_halign
get_has_tooltip
get_has_window
get_hexpand
get_hexpand_set
get_mapped
get_margin_bottom
get_margin_end
get_margin_left
get_margin_right
get_margin_start
get_margin_top
get_modifier_mask
get_modifier_style
get_no_show_all
get_opacity
get_pango_context
get_parent
get_parent_window
get_path
get_pointer
get_preferred_height
get_preferred_height_and_baseline_for_width
get_preferred_height_for_width
get_preferred_height_for_width_internal
get_preferred_height_internal
get_preferred_size
get_preferred_width
get_preferred_width_for_height
get_preferred_width_for_height_internal
get_preferred_width_internal
get_realized
get_receives_default
get_request_mode
get_requisition
get_root_window
get_scale_factor
get_screen
get_sensitive
get_settings
get_size_request
get_state
get_state_flags
get_style
get_style_context
get_support_multidevice
get_template_child
get_tooltip_markup
get_tooltip_text
get_tooltip_window
get_toplevel
get_valign
get_valign_with_baseline
get_vexpand
get_vexpand_set
get_visible
get_visual
get_window
grab_broken_event
grab_default
grab_focus
grab_notify
halign
has_default
has_focus
has_grab
has_rc_style
has_screen
has_tooltip
has_visible_focus
height_request
hexpand
hexpand_set
hide
hide_on_delete
hierarchy_changed
in_destruction
init_template
input_shape_combine_region
insert_action_group
install_style_property
install_style_property_parser
intersect
is_ancestor
is_composited
is_drawable
is_focus
is_sensitive
is_toplevel
is_visible
key_press_event
key_release_event
keynav_failed
leave_notify_event
list_accel_closures
list_action_prefixes
list_mnemonic_labels
list_style_properties
map
map_event
margin
margin_bottom
margin_end
margin_left
margin_right
margin_start
margin_top
mnemonic_activate
modify_base
modify_bg
modify_cursor
modify_fg
modify_font
modify_style
modify_text
motion_notify_event
move_focus
name
no_show_all
opacity
override_background_color
override_color
override_cursor
override_font
override_symbolic_color
parent
parent_set
path
pop_composite_child
popup_menu
property_notify_event
proximity_in_event
proximity_out_event
push_composite_child
query_tooltip
queue_allocate
queue_compute_expand
queue_draw
queue_draw_area
queue_draw_region
queue_resize
queue_resize_no_redraw
realize
receives_default
region_intersect
register_window
remove_accelerator
remove_mnemonic_label
remove_tick_callback
render_icon
render_icon_pixbuf
reparent
reset_rc_styles
reset_style
scale_factor
screen_changed
scroll_event
selection_clear_event
selection_get
selection_notify_event
selection_received
selection_request_event
send_expose
send_focus_change
sensitive
set_accel_path
set_accessible_role
set_accessible_type
set_allocation
set_app_paintable
set_can_default
set_can_focus
set_child_visible
set_clip
set_composite_name
set_connect_func
set_css_name
set_default_direction
set_device_enabled
set_device_events
set_direction
set_double_buffered
set_events
set_focus_on_click
set_font_map
set_font_options
set_halign
set_has_tooltip
set_has_window
set_hexpand
set_hexpand_set
set_mapped
set_margin_bottom
set_margin_end
set_margin_left
set_margin_right
set_margin_start
set_margin_top
set_no_show_all
set_opacity
set_parent
set_parent_window
set_realized
set_receives_default
set_redraw_on_allocate
set_sensitive
set_size_request
set_state
set_state_flags
set_style
set_support_multidevice
set_template
set_template_from_resource
set_tooltip_markup
set_tooltip_text
set_tooltip_window
set_valign
set_vexpand
set_vexpand_set
set_visible
set_visual
set_window
shape_combine_region
show
show_all
show_help
show_now
size_allocate
size_allocate_with_baseline
size_request
state_changed
state_flags_changed
style
style_attach
style_get
style_get_property
style_get_valist
style_set
style_updated
thaw_child_notify
tooltip_markup
tooltip_text
touch_event
translate_coordinates
trigger_tooltip_query
unmap
unmap_event
unparent
unrealize
unregister_window
unset_state_flags
valign
vexpand
vexpand_set
visibility_notify_event
visible
width_request
window_state_event
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Atk.Implementor
ref_accessible
All known members inherited from interface Gtk.Actionable
action_name
action_target
get_action_name
get_action_target_value
set_action_name
set_action_target
set_action_target_value
set_detailed_action_name
All known members inherited from interface Gtk.Activatable
do_set_related_action
get_related_action
get_use_action_appearance
related_action
set_related_action
set_use_action_appearance
sync_action_properties
update
use_action_appearance
All known members inherited from interface Gtk.Buildable
add_child
construct_child
custom_finished
custom_tag_end
custom_tag_start
get_internal_child
get_name
parser_finished
set_buildable_property
set_name
2022 vala-language.org