Actions
Feature #1130
closedMigrate launcher UI to a pigtk widget.
Start date:
17 Apr 2024
Due date:
% Done:
100%
Estimated time:
Severity:
01 - Critical
Description
The widget will allow paging, and can be re-used in a videofe rewrite.
Updated by Hammel 7 months ago
The launcher is just an icontable widget.
The icon table should have the following apis.
- gtk_icontable_set_tablesize(widget, rows, cols)
- gtk_icontable_set(widget, GSList *)
- list data = ICONTABLE_DATA_T (icon path, title)
struct _icontable_t { char *icon; char *title; } ICONTABLE_T;
- list data = ICONTABLE_DATA_T (icon path, title)
- GtkWidget *gtk_icontable_new(guint rows, guint cols);
- void gtk_icontable_press( GtkWidget *icontable, int x, int y, int highlight );
- void gtk_icontable_page_change( GtkWidget *widget, gint amount );
- void gtk_icontable_row_change( GtkWidget *widget, gint amount );
- GSList *gtk_icontable_get_cell( GtkWidget *icontable );
- void gtk_icontable_set_cellpad( GtkWidget *widget, guint size );
Updated by Hammel 7 months ago
- % Done changed from 20 to 80
Initial implementation has been tested and pushed.
Issues still to be resolved.
Issues still to be resolved.
- Better _next_cell, _next_row and _next_page handling.
- Extend demo app to show these.
Add a user supplied data field to GtkIconCell structure.Fix resize paint updates.
Updated by Hammel 6 months ago
Need to handle paging better. When you cell fw or bw to the next page the whole widget must be updated so all labels are updated properly.
Need an option for:Disabling label overlaysSetting label color (via gtkrc and API)Setting bg color (overriding gtkrc)(won't implement)
Need to implement row and page changes APIs properly.
Actions