Skip to content

Conversation

@danirabbit
Copy link
Member

@danirabbit danirabbit commented May 28, 2025

Fixes #88
Fixes #560

Todo:

  • Focus in event in GridView
  • Arrow navigation in GridView

@danirabbit danirabbit moved this to In Progress in GTK4 Porting May 28, 2025
public override void execute (Match? match) {
var context = Gdk.Display.get_default ().get_app_launch_context ();
context.set_timestamp (Gtk.get_current_event_time ());
context.set_timestamp (Gdk.CURRENT_TIME);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from Marukesu:

In gtk4, we have Gtk.EventController.get_current_event_time(), so it's better to leave this as it is now or refactor the code to pass the time from the event handlers to the methods.


var context = Gdk.Display.get_default ().get_app_launch_context ();
context.set_timestamp (Gtk.get_current_event_time ());
context.set_timestamp (Gdk.CURRENT_TIME);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from Marukesu:

In gtk4, we have Gtk.EventController.get_current_event_time(), so it's better to leave this as it is now or refactor the code to pass the time from the event handlers to the methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Port to GTK4 Search field placeholder is only visible while the app menu is fading out

3 participants