- Apr 17, 2024
-
-
Kjell Ahlstedt authored
Fixes #156
-
Kjell Ahlstedt authored
They are deprecated in gtk.
-
- Apr 08, 2024
-
-
Kjell Ahlstedt authored
* gdk/src/graphene_*.hg: * gdk/src/rgba.hg: * gtk/src/border.hg: Add TODO comments. These classes will be more efficient if they contain the underlying C structs instead of pointers to the C structs. See #155
-
- Mar 17, 2024
-
-
Kjell Ahlstedt authored
-
- Mar 16, 2024
-
-
Kjell Ahlstedt authored
* configure.ac: * meson.build: Require gtk4 >= 4.14.0. * gdk/src/display.hg: Add supports_shadow_width(), property_shadow_width(). * gdk/src/dmabufformats.hg: Add equal(). * gdk/src/monitor.hg: Add get/property_scale(). * gtk/gtkmm.h: * gtk/gtkmm/meson.build: * gtk/src/filelist.am: Add accessibletext. * gtk/src/accessibletext.[ccg|hg]: New files. * gtk/src/accessible.hg: Add announce(). * gtk/src/calendar.hg: Add set/get_day(), set/get_month(), set/get_year(). * gtk/src/inscription.hg: * gtk/src/label.hg: * gtk/src/text.hg: * gtk/src/textview.hg: Add a TODO comment. * gtk/src/scalebutton.hg: Add set/get/property_has_frame(). * gtk/src/searchentry.hg: Add _IGNORE() and _IGNORE_PROPERTY() directives. * gtk/src/searchentry2.hg: Add set/get/property_input_purpose(), set/get/property_input_hints(). * tools/m4/convert_gdk.m4: Add conversion for DmabufFormats. * tools/m4/convert_gtk.m4: Add converions for AccessibleAnnouncementPriority, AccessibleTextContentChange, AccessibleTextGranularity enums.
-
Kjell Ahlstedt authored
using gtk files from gtk 4.14.0. Update gtk_vfuncs.defs.
-
- Feb 23, 2024
-
- Feb 10, 2024
-
-
Kjell Ahlstedt authored
Fix the window which is opened when the button is clicked.
-
- Feb 01, 2024
-
-
Kjell Ahlstedt authored
-
- Jan 31, 2024
-
-
Kjell Ahlstedt authored
* configure.ac: * meson.build: Require gtk4 >= 4.13.6. * gtk/src/aboutdialog.hg: GTK_LICENSE_0BSD is called BSD_0. * gtk/src/filelauncher.hg: Add get/set/property_writable(). * gtk/src/settings.hg: Add property_gtk_show_status_shapes(). * gtk/src/spinbutton.hg: Add get/set/property_activates_default().
-
Kjell Ahlstedt authored
using gtk files from gtk 4.13.6. Update gdk_docs_override.xml and gtk_docs_override.xml.
-
- Jan 15, 2024
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
-
- Dec 26, 2023
-
-
Kjell Ahlstedt authored
Make it similar to the description of GtkScrolledWindow.
-
- Dec 06, 2023
-
-
Kjell Ahlstedt authored
* tools/m4/enum.m4: New file. Basically a copy of glibmm's corresponding file. It adds constexpr to operator|(), operator&(), operator^() and operator~() for enums of flag type. * tools/extra_defs_gen/meson.build: * tools/m4/filelist.am: Add enum.m4. Fixes #153
-
- Nov 22, 2023
-
-
Kjell Ahlstedt authored
-
- Nov 21, 2023
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
* configure.ac: * meson.build: Require gtk4 >= 4.13.3. * gtk/gtkmm/meson.build: * gtk/src/filelist.am: Add graphicsoffload. * gtk/src/enums.hg: Add enum GraphicsOffloadEnabled. * gtk/src/graphicsoffload.[ccg|hg]: New files. * gtk/src/video.hg: Add get/set/property_graphics_offload(). * tools/m4/convert_gtk.m4: Add conversions for GraphicsOffloadEnabled.
-
Kjell Ahlstedt authored
using gtk files from gtk 4.13.3. Update gtk_docs_override.xml and tools/extra_defs_gen/generate_defs_gtk.cc.
-
- Nov 16, 2023
-
-
Kjell Ahlstedt authored
From the documentation of gtk_window_new(): Due to GTK keeping a reference to the window internally, gtk_window_new() does not return a reference to the caller. GtkWindow acts approximately like a method marked (transfer none). The Gtk::Window constructors shall take a reference in order to avoid premature deletion of the GtkWindow, if it's destroyed, e.g. when it's closed. Fixes #151
-
- Nov 14, 2023
-
-
Daniel Boles authored
-
Daniel Boles authored
TreeIter: Donʼt return dangling ref on *rvalueIter See merge request !90
-
- Nov 13, 2023
-
-
Daniel Boles authored
!88 (comment 1908596) &c
-
- Nov 10, 2023
-
-
Daniel Boles authored
-
Kjell Ahlstedt authored
See !88
-
Kjell Ahlstedt authored
Add SearchEntry2, deprecate SearchEntry Closes #148 See merge request !86
-
- Nov 09, 2023
-
-
Kjell Ahlstedt authored
tests/tree_model_iterator: Fix CRITICALs as !model See merge request !89
-
- Nov 08, 2023
-
-
Kjell Ahlstedt authored
get_added(), get_modified(), get_visited() and get_application_info() return a Glib::DateTime. GtkRecentInfo returns the GDateTime with (transfer none). The RecentInfo methods must add their own reference. Fixes #150
-
- Nov 07, 2023
-
-
Kjell Ahlstedt authored
Make it more immune to possible future added values. See !87
-
- Nov 04, 2023
-
-
Daniel Boles authored
Kjell noticed at line 118 and the others creating paths from iterators: > Gtk-CRITICAL **: 10:21:51.432: gtk_tree_model_get_path: > assertion 'GTK_IS_TREE_MODEL (tree_model)' failed These criticals were because the paths were created from iterators not associated with a model. Make them use the same 'dummy' model as others. !88 (comment 1907963)
-
- Nov 03, 2023
-
-
Daniel Boles authored
meson.build—Donʼt fail if warning_level=everything See merge request !87
-
Daniel Boles authored
tests/tree_model_iterator: Fix/add const+non tests See merge request !88
-
Kjell Ahlstedt authored
instead of SearchEntry2. SearchEntry2 does not need a derived GType.
-
Daniel Boles authored
* Rename test_const_conversion() to _comparison() as that's what it does * Rename test_assignment_from_const() to _to_const(), ditto - & fix that not actually comparing the 2 different constness types, by using auto! * Make latter actually test assignment; it was only trying construction… * Make latter test that operator=() returns *this, per my recent bugfix! * Add real _from_const(), which static_asserts !constructible/assignable * Add test_operator_bool() * Add a basic model so we can check bool/equality after construction and assignment when we have a model, not only for empty/invalid iterators, since checking we are STILL empty doesnʼt confirm the operation worked
-
- Nov 02, 2023
-
-
Daniel Boles authored
We assume the meson configure variable warning_level can always be converted to int, but nowadays there is a standard 'everything' option, which if used was causing `ninja` builds to fail. While that level is not very useful due to all the dodgy C stuff we are built on top of, it should still work in case anyone wants to test particular files under it – so this fixes it, by changing 'everything' to the arbitrarily high 99.
-
Daniel Boles authored
-
Daniel Boles authored
This is of course wrong and was causing crashes in the Inkscape GTK/mm4 porting effort, luckily now worked around by refactoring relevant code.
-
Daniel Boles authored
Widget: Add [[nodiscard]] on get_children() and... See merge request !85
-
Daniel Boles authored
...drop some more redundant Gtk:: namespace qualifications there, and avoid introducing a template typename ambiguously also called Widget. !85
-
Kjell Ahlstedt authored
SearchEntry wrongly inherits from Entry. GtkSearchEntry does not inherit from GtkEntry in gtk4. SearchEntry can't be fixed without breaking ABI. * demos/gtk-demo/example_iconbrowser.cc: Use SearchEntry2. * demos/gtk-demo/main.cc: Call Application::wrap_in_search_entry2(). * gtk/gtkmm.h: * gtk/gtkmm/meson.build: * gtk/src/filelist.am: Add searchentry2. * gtk/src/application.[ccg|hg]: Add wrap_in_search_entry2(). * gtk/src/searchentry.hg: Deprecate in favor of SearchEntry2. * gtk/src/searchentry2.[ccg|hg]: New files. Fixes #148
-