- 24 Sep, 2017 1 commit
-
-
Daniel Boles authored
Passing NULL is valid and results in the image child being unset/removed
-
- 18 Aug, 2017 1 commit
-
-
Carlos Garnacho authored
Seems to be there for the sole purpose of ensuring the button shall receive the key release on keyboard-triggered activation. For the cases where this makes sense (eg. comboboxes, menubuttons, ...) gtk+ already does ensure the menu is popup after key release. This makes the grab pretty useless, and there's many other cases where it doesn't make sense (eg. button being activated programmatically from an event handler in another widget). Fixes button activation unintendedly triggering shortcut inhibition on wayland. https://bugzilla.gnome.org/show_bug.cgi?id=786480
-
- 17 Feb, 2017 1 commit
-
-
Timm Bäder authored
-
- 29 Aug, 2016 1 commit
-
-
Benjamin Otte authored
glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller.
-
- 09 Jun, 2016 2 commits
-
-
Stefan Sauer authored
We deprecated a bunch of _focus_on_click() functions. Point to the new API in GtkWidget.
-
Emmanuele Bassi authored
To match the deprecation annotation on the function declaration.
-
- 06 Jun, 2016 1 commit
-
-
Matthias Clasen authored
This is the right place to free them.
-
- 03 Mar, 2016 1 commit
-
-
Matthias Clasen authored
-
- 12 Jan, 2016 1 commit
-
-
Timm Bäder authored
And do the same thing for GtkCheckButton https://bugzilla.gnome.org/show_bug.cgi?id=760509
-
- 08 Jan, 2016 1 commit
-
-
Alberto Ruiz authored
gtk_accel_group_query gtk_accel_group_from_accel_closure gtk_accel_label_get_accel_widget gtk_accessible_get_widget gtk_actionable_get_action_name gtk_app_chooser_get_app_info gtk_app_chooser_button_get_heading gtk_app_chooser_dialog_get_heading gtk_application_get_window_by_id gtk_assistant_get_nth_page gtk_binding_set_find gtk_builder_get_object gtk_builder_lookup_callback_symbol gtk_builder_get_application gtk_button_get_image gtk_cell_area_get_focus_from_sibling gtk_cell_renderer_start_editing gtk_cell_view_get_model gtk_cell_view_get_displayed_row gtk_clipboard_get_owner gtk_container_get_focus_child gtk_container_get_focus_vadjustment gtk_container_get_focus_hadjustment gtk_dialog_get_widget_for_response gtk_drag_get_source_widget gtk_drag_dest_get_target_list gtk_drag_source_get_target_list gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_expander_get_label_widget gtk_file_chooser_get_filename gtk_file_chooser_get_current_folder gtk_file_chooser_get_uri gtk_file_chooser_get_current_folder_uri gtk_file_chooser_get_preview_widget gtk_file_chooser_get_preview_file gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_uri gtk_file_chooser_get_extra_widget gtk_file_chooser_get_filter gtk_file_chooser_native_get_accept_label gtk_file_chooser_native_get_cancel_label gtk_file_filter_get_name gtk_font_chooser_get_font_family gtk_font_chooser_get_font_face gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_chooser_get_font_map gtk_frame_get_label gtk_gesture_get_device gtk_gesture_get_window gtk_gl_area_get_error gtk_header_bar_get_title gtk_header_bar_get_subtitle gtk_header_bar_get_custom_title gtk_icon_info_get_filename gtk_icon_view_get_path_at_pos gtk_icon_view_get_model gtk_image_get_pixbuf gtk_image_get_animation gtk_label_get_mnemonic_widget gtk_label_get_attributes gtk_check_version gtk_menu_button_get_popup gtk_menu_button_get_menu_model gtk_menu_button_get_align_widget gtk_menu_button_get_popover gtk_menu_item_get_submenu gtk_menu_item_get_accel_path gtk_native_dialog_get_title gtk_native_dialog_get_transient_for gtk_notebook_get_nth_page gtk_notebook_get_tab_label_text gtk_notebook_get_menu_label gtk_notebook_get_menu_label_text gtk_notebook_get_group_name gtk_notebook_get_action_widget gtk_offscreen_window_get_surface gtk_offscreen_window_get_pixbuf gtk_paned_get_child1 gtk_paned_get_child2 gtk_places_sidebar_get_location gtk_places_sidebar_get_nth_bookmark gtk_plug_get_socket_window gtk_popover_get_default_widget gtk_progress_bar_get_text gtk_recent_filter_get_name gtk_recent_manager_lookup_item gtk_settings_get_default gtk_socket_get_plug_window gtk_stack_sidebar_get_stack gtk_stack_switcher_get_stack gtk_style_context_get_section gtk_style_context_get_parent gtk_style_context_get_frame_clock gtk_test_find_widget gtk_text_buffer_get_mark gtk_text_tag_table_lookup gtk_text_view_get_tabs gtk_text_view_toggle_cursor_visible gtk_text_view_get_window gtk_toolbar_get_nth_item gtk_tool_button_get_label gtk_tool_button_get_icon_name gtk_tool_button_get_label_widget gtk_tool_button_get_icon_widget gtk_tool_palette_get_drop_item gtk_tool_palette_get_drop_group gtk_tree_model_filter_convert_child_path_to_path gtk_tree_model_filter_convert_path_to_child_path gtk_tree_model_sort_convert_child_path_to_path gtk_tree_model_sort_convert_path_to_child_path gtk_tree_view_get_column gtk_tree_view_get_bin_window gtk_tree_view_column_get_widget gtk_tree_view_column_get_tree_view gtk_widget_get_frame_clock gtk_window_group_get_current_device_grab GtkTextBufferSerializeFunc
-
- 04 Jan, 2016 1 commit
-
-
Christoph Reiter authored
Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations were changed to int as they not only take the predefined enum values but also user defined values registered through gtk_icon_size_register() As a result the typelib doesn't contain any information about GtkIconSize for those arguments and the Python docstring only shows the corresponding Python type "int". This changes the argument docs to mention the type explicitly so the Python doc generator can add a link to Gtk.IconSize which contains the most useful predefined values. https://bugzilla.gnome.org/show_bug.cgi?id=757411
-
- 15 Dec, 2015 1 commit
-
-
Matthias Clasen authored
-
- 14 Dec, 2015 1 commit
-
-
- 16 Nov, 2015 2 commits
-
-
Matthias Clasen authored
Use G_PARAM_DEPRECATED with deprecated style properties. This will make it easier to identify and remove such stale properties from css, since it will now trigger warnings.
-
Matthias Clasen authored
No code change.
-
- 03 Nov, 2015 1 commit
-
-
The differences between the existing properties and the newly added GtkWidget:focus-on-click property are minimal (different owner_type in GParamSpec), so it is extremely unlikely that dropping the former would break anything. https://bugzilla.gnome.org/show_bug.cgi?id=757269
-
- 02 Nov, 2015 1 commit
-
-
Matthias Clasen authored
There's a lot of button variations out there, lets document the ones we know about.
-
- 30 Oct, 2015 1 commit
-
-
Matthias Clasen authored
-
- 04 Aug, 2015 1 commit
-
-
Matthias Clasen authored
We were failing to construct the child if an image was set before constructed (e.g. in the init() function of a button subclass). https://bugzilla.gnome.org/show_bug.cgi?id=753048
-
- 02 Mar, 2015 1 commit
-
-
Carlos Garnacho authored
This prevents from stale widget states if the gesture happens to be cancelled mid-press.
-
- 02 Oct, 2014 1 commit
-
-
Marek Kašík authored
Remove checks for NULL before g_free() and g_clear_object(). Merge check for NULL, freeing of pointer and its setting to NULL by g_clear_pointer(). https://bugzilla.gnome.org/show_bug.cgi?id=733157
-
- 30 Sep, 2014 1 commit
-
-
Matthias Clasen authored
-
- 25 Sep, 2014 1 commit
-
-
Carlos Garnacho authored
When GtkGestureMultiPress::released happens, in_button should be unset after emitting GtkButton::released, whose default implementation uses it. Moreover, in_button should only be unset there for real touch events, not guaranteed to trigger crossing events, as opposed to every pointer/touch events from touchscreens. https://bugzilla.gnome.org/show_bug.cgi?id=737297
-
- 08 Sep, 2014 1 commit
-
-
Matthias Clasen authored
Its seems that gtk_gesture_get_last_event may return NULL, protect against that to avoid critical warnings.
-
- 26 Aug, 2014 1 commit
-
-
Carlos Garnacho authored
This makes the active state work invariably with both mouse/touch, and regardless of X11 pointer emulation being friendly and sending crossing events for the emulated pointer events in the latter. This makes GtkButtons' active state look correct when pressing on touchscreens on wayland. https://bugzilla.gnome.org/show_bug.cgi?id=731380
-
- 20 Aug, 2014 1 commit
-
-
Benjamin Otte authored
-
- 17 Aug, 2014 1 commit
-
-
Benjamin Otte authored
Setting a state automatically triggers redraws via the CSS machinery.
-
- 16 Aug, 2014 3 commits
-
-
Benjamin Otte authored
All buttons should always be marked as :active when they are pressed. That includes checkboxes (which are never activated in real code anyway, so this change pretty much doesn't matter).
-
Benjamin Otte authored
It is not used anymore.
-
Benjamin Otte authored
It doesn't make sense to support child displacement in a world where pseudoclasses behave different from the actual displacement states. Nobody would ever understand why a widget is displaced. It is easily possible to simulate child displacement by using padding CSS properties.
-
- 28 Jun, 2014 1 commit
-
-
Matthias Clasen authored
Use gtk_misc_set_alignment when setting x/align on button children where possible, to avoid the runtime warning that g_object_set incurs nowadays.
-
- 27 Jun, 2014 1 commit
-
-
Matthias Clasen authored
This commit makes button always draw background and frame. Buttons with relief none get a new style class, FLAT, which allows themes to style these buttons as they like. We also (finally) mark GTK_RELIEF_HALF as deprecated. It has never done anything different from GTK_RELIEF_NORMAL. https://bugzilla.gnome.org/show_bug.cgi?id=732256
-
- 26 Jun, 2014 1 commit
-
-
Jasper St. Pierre authored
Use the newer constructed instead, which has a fast path in GObject.
-
- 24 Jun, 2014 1 commit
-
-
Matthias Clasen authored
We currently getting a redraw for buttons, but that is just luck. Better to make it explicit.
-
- 11 Jun, 2014 2 commits
-
-
Matthias Clasen authored
These should just be replaced by CSS margins, etc.
-
Matthias Clasen authored
The non-zero default default-border was causing buttons to shrink as the focus moves around them. Themes which want a default-border should define it explicitly.
-
- 09 Jun, 2014 2 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
- 27 May, 2014 2 commits
-
-
Carlos Garnacho authored
In order to avoid the event from bubbling, as it used to (not) do.
-
Carlos Garnacho authored
Mainly doing s/TARGET/BUBBLE/ on the fully ported widgets, but GtkTreeView where the double click handler has moved to GTK_PHASE_TARGET so it runs parallelly to the still existing event handlers.
-