summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghb4.ui
Commit message (Collapse)AuthorAgeFilesLines
* add subtitle track name read/writeJohn Stebbins2019-08-111-171/+205
| | | | | | | | | | | | | | | | Works similar to audio track names. If source has a subtitle track name, hb_subtitle_t.name is set. To set output subtitle track name, set hb_subtitle_config_t.name. Source track names are available in title returned by hb_title_to_dict and hb_title_to_json in SubtitleList[].Name In job dict it is also SubtitleList[].Name hb_preset_job_init and hb_preset_job_init_json initialize output tracks with the source track name. Also adds subtitle name support to LinGui
* LinGui: make chapter list rows non-selectableJohn Stebbins2019-07-301-0/+1
| | | | I.e. do not highlight the entire row when clicked with the mouse
* LinGui: change chapter list to GtkListBoxJohn Stebbins2019-07-301-5/+52
| | | | | | | | | GtkListBox is more flexible than GtkTreeView. It is possible now to process key press events without creating a custom text cell renderer. Also due to the way event handling changes in GTK4, it was no longer even possible to create a custom cell renderer that can process key events. So this GtkListBox implementation is compatible with GTK4.
* LinGui: gtk4 port, use rotation transform in settings stackJohn Stebbins2019-07-291-1/+1
| | | | Because we can :*p
* LinGui: gtk4 port, minimize appearence of tool bar separatorsJohn Stebbins2019-07-291-14/+6
| | | | | | | These are not supposed to be visible, but gtk4 is not respecting the "draw" property of GtkSeparatorToolItem. When this is fixed, I can restore proper spacing between "Open Source" and "Add To Queue" toolbar buttons.
* LinGui: gtk4 port, fix summary tab preview image scalingJohn Stebbins2019-07-291-17/+21
| | | | | | | | | | | | GTK4 added a new widgit GtkPicture that is almost identical to GtkImage. The main difference appears to be that GtkImage now scales down the size of the given pixbuf using some undocumented algorithm. It's filling some of the space available, but not all of it. But it isn't a hard size limit because making the window bigger continues to make the image bigger. GtkPicture shows the pixbuf unscaled as expected. So use GtkPicture for the preview image :*(
* LinGui: use GtkNotebookPage in gtk4 ui descriptionJohn Stebbins2019-07-291-383/+379
| | | | This is the modern gtk4 way...
* LinGui: WIP gtk4 supportJohn Stebbins2019-07-261-0/+8026
Known issues and todo: notebooks, use GtkNotebookPage semantics in ui file fix keypress delete in queue_list fix dest_file grab-focus? (highlight of filename for editing) focus-in/out with GtkEventControllerKey preview_state_cb how to handle icon-ified preview? preview_configure_cb, saving preview window size? accelerator alt-d grab-focus destination key-press-event in chapter list, ghbcellrenderertext -> GtkEventControllerKey Why doesn't summary preview image scale correctly? "System" in about dialog? why is the tab there when "system" prop not set? GtkSeparatorToolitem seems to ignore "draw" prop?