Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples: Stop using appmenu apis | Matthias Clasen | 2020-05-22 | 2 | -38/+43 |
| | | | | The appmenu-related GtkApplication apis are going away. | ||||
* | bloatpad: Pass common_cflags to the build | Timm Bäder | 2020-05-19 | 2 | -1/+2 |
| | |||||
* | bloatpad: Avoid a few theoretical compiler warnings | Timm Bäder | 2020-05-18 | 1 | -7/+6 |
| | |||||
* | examples: Add common_cflags to executables | Timm Bäder | 2020-05-18 | 9 | -9/+18 |
| | |||||
* | Replace most remaining uses of container api | Matthias Clasen | 2020-05-11 | 6 | -23/+312 |
| | | | | These are all on GtkBox or enumerating children. | ||||
* | Use gtk_window_destroy | Matthias Clasen | 2020-05-11 | 6 | -7/+7 |
| | | | | | Replace calls to gtk_widget_destroy on windows with gtk_window_destroy. | ||||
* | Refresh the tutorial examples | Matthias Clasen | 2020-05-11 | 61 | -1035/+263 |
| | | | | | | | | | Redo this series of examples from 2013, and adapt it to modern way of doing things. The biggest differences are that we use a headerbar right from the start, and don't mention the app menu. Fixes: #2730 | ||||
* | examples: Use GtkDrawingArea::resize | Matthias Clasen | 2020-05-06 | 1 | -6/+5 |
| | | | | | This signal is a replacement for this (ab)use of the ::size-allocate signal, which is going away. | ||||
* | Use gtk_overlay_set_child throughout | Matthias Clasen | 2020-05-04 | 1 | -1/+1 |
| | | | | | Replace all uses of gtk_container_add on overlays by gtk_overlay_set_child. | ||||
* | Use gtk_search_bar_set_child throughout | Matthias Clasen | 2020-05-04 | 1 | -1/+1 |
| | |||||
* | Use gtk_window_set_child throughout | Matthias Clasen | 2020-05-04 | 8 | -8/+8 |
| | | | | | Replace all uses of gtk_container_add on windows by gtk_window_set_child. | ||||
* | Use gtk_scrolled_window_set_child throughout | Matthias Clasen | 2020-05-04 | 11 | -20/+20 |
| | | | | | Replace all uses of gtk_container_add on popovers by gtk_scrolled_window_set_child. | ||||
* | Use gtk_frame_set_child throughout | Matthias Clasen | 2020-05-04 | 1 | -1/+1 |
| | | | | | Replace all uses of gtk_container_add for frames with gtk_frame_set_child. | ||||
* | headerbar: Remove user-settable title | Alexander Mikhaylenko | 2020-05-01 | 1 | -2/+0 |
| | | | | | | | | Use window title, or custom title widget if it's set. Remove 'title' property. Update demos and tests to set the title on the window instead of headerbar. | ||||
* | frame: Drop shadow-type | Matthias Clasen | 2020-04-17 | 1 | -1/+0 |
| | | | | | Frames that don't draw frames are not very useful, so just drop the shadow-type property. | ||||
* | Replace most uses of <Primary> with <Control> | Matthias Clasen | 2020-04-06 | 1 | -8/+8 |
| | | | | | | The only place where we are still using <Primary> is in tests, to ensure we keep parsing it. Otherwise, <Control> is now the preferred syntax. | ||||
* | examples: Add common_cflags to build | Timm Bäder | 2020-03-06 | 3 | -5/+7 |
| | | | | | | And fix all the warnings and errors generated by doing so. See #2491 | ||||
* | Drop the margin property | Matthias Clasen | 2020-02-25 | 5 | -5/+20 |
| | | | | Replace it with margin-start, -end, -top, -bottom throughout. | ||||
* | Stop using gtk_main_quit | Matthias Clasen | 2020-02-09 | 1 | -3/+17 |
| | | | | | Stop using gtk_main and gtk_main_quit in tests and examples. These APIs are on the way out. | ||||
* | bloatpad: Use a box, not a toolbar | Benjamin Otte | 2020-02-07 | 1 | -19/+13 |
| | |||||
* | Rename GtkGestureMultiPress to GtkGestureClick | Matthias Clasen | 2019-05-29 | 1 | -6/+6 |
| | | | | | The name just made it hard for people to find the right gesture to use. | ||||
* | Stop using gtk_widget_get_surface | Matthias Clasen | 2019-05-28 | 1 | -2/+2 |
| | | | | | Replace all uses of gtk_widget_get_surface by gtk_native_get_surface. | ||||
* | Remove a few stray <packing/> elements | Matthias Clasen | 2019-04-05 | 4 | -7/+4 |
| | | | | | These were leftovers from an earlier conversion that did not properly strip empty elements. | ||||
* | examples: Update GtkGrid definitions in UI files | Emmanuele Bassi | 2019-04-05 | 6 | -98/+109 |
| | |||||
* | Convert all ui files | Matthias Clasen | 2019-03-27 | 4 | -28/+14 |
| | | | | Run gtk4-builder-tool simplify --3to4 over all ui files. | ||||
* | entry, spin button: Drop redundant API | Matthias Clasen | 2019-02-28 | 5 | -9/+9 |
| | | | | Avoid duplicating GtkEditable APIs. Port existing users. | ||||
* | Fix the search bar example | Matthias Clasen | 2019-02-19 | 1 | -1/+1 |
| | | | | More GtkSearchBar entry -> editable fixups. | ||||
* | Update ui files to new stack syntax | Matthias Clasen | 2019-02-08 | 24 | -78/+20 |
| | | | | This conversion was done with the help of gtk4-builder-tool. | ||||
* | Merge branch 'kill-buttonbox' into 'master' | Matthias Clasen | 2019-02-05 | 1 | -4/+4 |
|\ | | | | | | | | | Drop GtkButtonBox See merge request GNOME/gtk!554 | ||||
| * | Drop GtkButtonBox | Matthias Clasen | 2019-02-04 | 1 | -4/+4 |
| | | | | | | | | | | This widget does not seem worth keeping, and we want to get rid of child properties. | ||||
* | | examples: Rename the pkg-config file for GTK 4 | Emmanuele Bassi | 2019-02-05 | 11 | -22/+22 |
|/ | | | | | We dropped the '+' and the major.minor version from the pkg-config file name. | ||||
* | box: Remove gtk_box_pack_start | Timm Bäder | 2019-01-23 | 1 | -2/+2 |
| | |||||
* | examples: Use appliction id as desktop file base name | Guido Günther | 2018-08-02 | 2 | -2/+2 |
| | |||||
* | search bar example: remove unused function | Timm Bäder | 2018-06-16 | 1 | -11/+0 |
| | |||||
* | examples: Simplify handling events in search-bar | Mohammed Sadiq | 2018-06-14 | 1 | -7/+1 |
| | | | | | In search-bar example, we can use gtk_search_bar_set_key_capture_widget() which would simplify handling keyboard events. | ||||
* | examples: Fix alignment of search-bar example | Mohammed Sadiq | 2018-06-14 | 1 | -0/+1 |
| | | | | | The search entry was taking the whole window size. Let's reduce the size so as to have more natural size. | ||||
* | examples: Remove unused variables | Mohammed Sadiq | 2018-05-12 | 2 | -2/+0 |
| | |||||
* | examples: Use icon-name property to set button icons | Mohammed Sadiq | 2018-05-09 | 4 | -32/+4 |
| | | | | Gtk4 added an icon-name property for GtkButton. | ||||
* | examples: Simplify counting buffer lines | Mohammed Sadiq | 2018-05-09 | 2 | -20/+2 |
| | | | | | We do have a gtk_text_buffer_get_line_count() function to get the line count. | ||||
* | examples: Remove explicit gtk_widget_show() | Mohammed Sadiq | 2018-05-09 | 8 | -19/+0 |
| | | | | In gtk4, widgets are visible by default. | ||||
* | examples: Take advantage of user_data passed | Mohammed Sadiq | 2018-05-08 | 4 | -38/+20 |
| | | | | | | | | | The last parameter of the signal callback from .ui is the template's object from which the class is derived. And so, we already have access to the window object. Let's just use it. | ||||
* | examples: Don't use private members for final classes | Mohammed Sadiq | 2018-05-08 | 13 | -356/+198 |
| | | | | | Only derivable classes are required to have private members so that derived classes can't override them. | ||||
* | examples: Simplify .ui files | Mohammed Sadiq | 2018-05-07 | 17 | -212/+82 |
| | | | | Run gtk4-builder-tool recursively | ||||
* | examples: Fix Makefiles to use gtk4 for build | Mohammed Sadiq | 2018-05-07 | 10 | -20/+20 |
| | |||||
* | eventcontrollerkey: Port to new API model | Carlos Garnacho | 2018-04-26 | 1 | -1/+2 |
| | |||||
* | draggesture: Port to new API model | Benjamin Otte | 2018-04-26 | 1 | -3/+2 |
| | |||||
* | multipressgesture: Port to new API model | Benjamin Otte | 2018-04-26 | 1 | -2/+2 |
| | |||||
* | search bar: Stop using ::key-press-event | Matthias Clasen | 2018-04-05 | 1 | -6/+12 |
| | | | | Use a key event controller instead. | ||||
* | widget: Remove clip from size-allocate vfunc | Benjamin Otte | 2018-04-05 | 1 | -1/+0 |
| | | | | As the clip is no longer needed, get rid of it. | ||||
* | gtk: Remove gtk_widget_queue_draw_region() | Benjamin Otte | 2018-04-05 | 1 | -2/+2 |
| | | | | | | ... and gtk_widget_queue_draw_area(). They don't doi anything anymore. |