Skip to content

Latest commit

 

History

History
208 lines (198 loc) · 3.28 KB

GtkButton.md

File metadata and controls

208 lines (198 loc) · 3.28 KB

GtkButton

  • GTK versão: (4, 14, 4).
  • Libadwaita versão: (1, 5, 2).
  • PyGObject versão: (3, 48, 2).

Propriedades:

Sintaxe: widget.props.property_name.

  • accessible_role
  • action_name
  • action_target
  • can_focus
  • can_shrink
  • can_target
  • child
  • css_classes
  • css_name
  • cursor
  • focus_on_click
  • focusable
  • halign
  • has_default
  • has_focus
  • has_frame
  • has_tooltip
  • height_request
  • hexpand
  • hexpand_set
  • icon_name
  • label
  • layout_manager
  • margin_bottom
  • margin_end
  • margin_start
  • margin_top
  • name
  • opacity
  • overflow
  • parent
  • receives_default
  • root
  • scale_factor
  • sensitive
  • tooltip_markup
  • tooltip_text
  • use_underline
  • valign
  • vexpand
  • vexpand_set
  • visible
  • width_request.

Sinais (signals):

  • activate
  • clicked.

Métodos GET:

  • get_accessible_parent
  • get_accessible_role
  • get_action_name
  • get_action_target_value
  • get_activate_signal
  • get_allocated_baseline
  • get_allocated_height
  • get_allocated_width
  • get_allocation
  • get_ancestor
  • get_at_context
  • get_baseline
  • get_bounds
  • get_buildable_id
  • get_can_focus
  • get_can_shrink
  • get_can_target
  • get_child
  • get_child_visible
  • get_clipboard
  • get_color
  • get_css_classes
  • get_css_name
  • get_cursor
  • get_data
  • get_default_direction
  • get_direction
  • get_display
  • get_first_accessible_child
  • get_first_child
  • get_focus_child
  • get_focus_on_click
  • get_focusable
  • get_font_map
  • get_font_options
  • get_frame_clock
  • get_halign
  • get_has_frame
  • get_has_tooltip
  • get_height
  • get_hexpand
  • get_hexpand_set
  • get_icon_name
  • get_label
  • get_last_child
  • get_layout_manager
  • get_layout_manager_type
  • get_mapped
  • get_margin_bottom
  • get_margin_end
  • get_margin_start
  • get_margin_top
  • get_name
  • get_native
  • get_next_accessible_sibling
  • get_next_sibling
  • get_opacity
  • get_overflow
  • get_pango_context
  • get_parent
  • get_platform_state
  • get_preferred_size
  • get_prev_sibling
  • get_primary_clipboard
  • get_properties
  • get_property
  • get_qdata
  • get_realized
  • get_receives_default
  • get_request_mode
  • get_root
  • get_scale_factor
  • get_sensitive
  • get_settings
  • get_size
  • get_size_request
  • get_state_flags
  • get_style_context
  • get_template_child
  • get_tooltip_markup
  • get_tooltip_text
  • get_use_underline
  • get_valign
  • get_vexpand
  • get_vexpand_set
  • get_visible
  • get_width.

Métodos SET:

  • set_accessible_parent
  • set_accessible_role
  • set_action_name
  • set_action_target_value
  • set_activate_signal
  • set_activate_signal_from_name
  • set_can_focus
  • set_can_shrink
  • set_can_target
  • set_child
  • set_child_visible
  • set_css_classes
  • set_css_name
  • set_cursor
  • set_cursor_from_name
  • set_data
  • set_default_direction
  • set_detailed_action_name
  • set_direction
  • set_focus_child
  • set_focus_on_click
  • set_focusable
  • set_font_map
  • set_font_options
  • set_halign
  • set_has_frame
  • set_has_tooltip
  • set_hexpand
  • set_hexpand_set
  • set_icon_name
  • set_label
  • set_layout_manager
  • set_layout_manager_type
  • set_margin_bottom
  • set_margin_end
  • set_margin_start
  • set_margin_top
  • set_name
  • set_opacity
  • set_overflow
  • set_parent
  • set_properties
  • set_property
  • set_receives_default
  • set_sensitive
  • set_size_request
  • set_state_flags
  • set_template
  • set_template_from_resource
  • set_template_scope
  • set_tooltip_markup
  • set_tooltip_text
  • set_use_underline
  • set_valign
  • set_vexpand
  • set_vexpand_set
  • set_visible.