remember window size and position #1

Closed
opened 2021-01-09 17:43:51 +00:00 by max · 5 comments
Owner

on move or resize (or close?), save position and size to a configuration file or gsettings thing

on launch, read the configuration and instantiate at that size and position, or fall back to defaults if not found

on move or resize (or close?), save position and size to a configuration file or gsettings thing on launch, read the configuration and instantiate at that size and position, or fall back to defaults if not found
max added the
enhancement
label 2021-01-09 17:47:21 +00:00
Author
Owner

could also save sound volumes, but I'm not sure about this.

could also save sound volumes, but I'm not sure about this.
Author
Owner

there doesn't seem to be a way of retrieving the window position from GtkWindow (other than the default position which gets set). may have to give up on this.

there doesn't seem to be a way of retrieving the window position from GtkWindow (other than the default position which gets set). may have to give up on this.
Author
Owner

need to somehow call one of the to_glib_ functions on GtkWindow to get an object with a WindowExt trait that I can call get_position() on.

need to somehow call one of the `to_glib_` functions on GtkWindow to get an object with a WindowExt trait that I can call `get_position()` on.
Author
Owner

fixed. now just need to figure out how to implement gsettings.

fixed. now just need to figure out how to implement gsettings.
Author
Owner

fixed!

fixed!
max closed this issue 2021-04-09 18:28:07 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: max/lull#1
No description provided.