censor/Censor
1
37
Fork
You've already forked Censor
3

feat: custom curser for drawing rectangles #84

Closed
opened 2026年02月26日 15:01:18 +01:00 by mahlzahn · 0 comments

Originally reported on gitlab.gnome.org :

Would be good to set a custom cursor that makes it obvious you're about to draw rectangles

Implementation

Gtk.Widget.set_curser(Gdk.Cursor.new_from_name.html("crosshair")

crosshair – "crosshair" – Simple crosshair maybe a food fitting one?

_Originally [reported on gitlab.gnome.org](https://gitlab.gnome.org/Teams/Circle/-/issues/264#note_2661013)_: > Would be good to set a custom cursor that makes it obvious you're about to draw rectangles ## Implementation ```python Gtk.Widget.set_curser(Gdk.Cursor.new_from_name.html("crosshair") ``` [![crosshair](https://docs.gtk.org/gdk4/crosshair_cursor.png) – "crosshair" – Simple crosshair](https://docs.gtk.org/gdk4/ctor.Cursor.new_from_name.html#description) maybe a food fitting one?
mahlzahn added this to the v0.5.0 milestone 2026年02月26日 15:01:44 +01:00
Sign in to join this conversation.
No Branch/Tag specified
main
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
censor/Censor#84
Reference in a new issue
censor/Censor
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?