application icongmusicbrowser

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
customization:layouts [2010/08/01 19:58] satoshicustomization:layouts [2010/09/20 11:28] satoshi
Line 1: Line 1:
 ======= Layout Documentation ====== ======= Layout Documentation ======
  
-Currently the layout documentation is **[[http://gmusicbrowser.org/layout_doc.html|there]]** 
  
 gmusicbrowser - layout documentation gmusicbrowser - layout documentation
 +
 +This is the documentation for Gmusicbrowser layout system. It tries to follow the latest git version closely, however, since the software is in active development, this is not guaranteed to work with the latest git version. Also, due to to ever-evolving syntax and features, not all of this will work with the latest unstable version (1.1.5 as of this writing). If you are interested in the legacy documentation for version 1.0.2, please see [[customization:layouts:oldgmb|this page]]
  
 (the syntax is evolving, but I try to support backward compatibility)\\ (the syntax is evolving, but I try to support backward compatibility)\\
Line 40: Line 41:
 Keys are unique for a layout, duplicate key definitions replace the previous one.\\ Keys are unique for a layout, duplicate key definitions replace the previous one.\\
 There are currently 6 properties keys (Type, Name, Default, Title, KeyBindings, ExtraWidgets) which I'll describe later.\\ There are currently 6 properties keys (Type, Name, Default, Title, KeyBindings, ExtraWidgets) which I'll describe later.\\
-If the name of the key begins with one of : HB,VB,HP,VP,MB,EB,TB the key is the name of a container that will contain widgets (also called layout elements or controls) or other containers.\\+If the name of the key begins with one of: HB, VB, HP, VP, MB, EB, TB the key is the name of a container that will contain widgets (also called layout elements or controls) or other containers.\\
 For containers the value is a list of widgets and containers, separated by a space, preceded by optional packing options, the widget names can be followed by a number(to have multiple widgets of the same name) and its options between parentheses. For containers the value is a list of widgets and containers, separated by a space, preceded by optional packing options, the widget names can be followed by a number(to have multiple widgets of the same name) and its options between parentheses.
  
Line 115: Line 116:
 label text of the label label text of the label
  
-**SB** : Scrolled window (based on GtkScrolledWindow)+**SB** : Scrolled window (based on [[http://developer.gnome.org/doc/API/2.0/gtk/GtkScrolledWindow.html|GtkScrolledWindow]])
  
 Adds scrollbars to its child. Adds scrollbars to its child.
  
-**AB** : Alignment (based on GtkAlignment)+**AB** : Alignment (based on [[http://developer.gnome.org/doc/API/2.0/gtk/GtkAlignment.html|GtkAlignment]])
  
 Controls the alignment and size of its child Controls the alignment and size of its child
  
 options:\\ options:\\
-xalign Horizontal position of child in available space, value between 0(left) and 1(right), default to .5 (center) +''xalign'' Horizontal position of child in available space, value between 0(left) and 1(right), default to .5 (center)\\ 
-yalign Vertical position of child in available space, value between 0(top) and 1(bottom), default to .5 (center) +''yalign'' Vertical position of child in available space, value between 0(top) and 1(bottom), default to .5 (center)\\ 
-xscale If available horizontal space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all (default :1) +''xscale'' If available horizontal space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all (default :1)\\ 
-yscale If available vertical space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all (default :1)+''yscale'' If available vertical space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all (default :1)
  
 =====Special containers===== =====Special containers=====
Line 133: Line 134:
 There is also 2 special containers, widgets in these containers must belong to a normal container, and as the widget is defined elsewhere, widgets options can not be set here. There is also 2 special containers, widgets in these containers must belong to a normal container, and as the widget is defined elsewhere, widgets options can not be set here.
  
-**HSize/VSize** : Size groups (see [[http://developer.gnome.org/doc/API/2.0/gtk/GtkSizeGroup.html|GtkSizeGroup]])+**HSize/VSize** : Size groups (see [[http://developer.gnome.org/doc/API/2.0/gtk/GtkSizeGroup.html|GtkSizeGroup]])\\
 Force all widgets to have the same Horizontal/Vertical size, if the list of widgets begin with a number, the first widget Horizontal/Vertical size will be set to this number (in pixels) Force all widgets to have the same Horizontal/Vertical size, if the list of widgets begin with a number, the first widget Horizontal/Vertical size will be set to this number (in pixels)
  
 example : ''HSize0 = 20 widget1 widget2 or HSize1 = widget1 widget2'' example : ''HSize0 = 20 widget1 widget2 or HSize1 = widget1 widget2''
  
-**VolumeScroll** : +**VolumeScroll**:\\
 A unique virtual container (must be the exact name), for all widgets inside, the scroll wheel will modify the volume (unless the scroll event is intercepted, like in a scrollable list) A unique virtual container (must be the exact name), for all widgets inside, the scroll wheel will modify the volume (unless the scroll event is intercepted, like in a scrollable list)
  
Line 145: Line 145:
 =====Properties keys===== =====Properties keys=====
  
-**Title** : +**Title**:\\
 Set a title for the window instead of the default : songtitle by artist ('%S by %a') (see %-letters) Set a title for the window instead of the default : songtitle by artist ('%S by %a') (see %-letters)
  
  Title = gmusicbrowser playing %S by %a from %l  Title = gmusicbrowser playing %S by %a from %l
  
-**Type **: +**Type**:\\
 A String of letters defining the type(s) of a layout, possible types : B(Browser window), T(Tray window), G(Generic or player window), F(Fullscreen), S(Search), P(Page for use in TabbedLists //experimental//) A String of letters defining the type(s) of a layout, possible types : B(Browser window), T(Tray window), G(Generic or player window), F(Fullscreen), S(Search), P(Page for use in TabbedLists //experimental//)
  
-**Name** : +**Name**:\\
 Set the name of the layout displayed in the settings dialog. The default name is the layout id. Contrary to the layout id, the Name can be changed without losing the layout's saved settings (window size, ...) Set the name of the layout displayed in the settings dialog. The default name is the layout id. Contrary to the layout id, the Name can be changed without losing the layout's saved settings (window size, ...)
  
-**Default** : +**Default**:\\
 Default options used when the layout has no saved state, contains a space-separated list of keys and values, by pair, Default options used when the layout has no saved state, contains a space-separated list of keys and values, by pair,
  
Line 167: Line 163:
 There is a special key : Window, for the window properties : pos, size (format is numberxnumber for pos and size), sticky, ontop, below, fullscreen (0 or 1 for these) There is a special key : Window, for the window properties : pos, size (format is numberxnumber for pos and size), sticky, ontop, below, fullscreen (0 or 1 for these)
  
-example :+example:
  
  Default = Window size=1120x820,sticky=0 HPbig 780 FPane0 page=artist  Default = Window size=1120x820,sticky=0 HPbig 780 FPane0 page=artist
  
-KeyBindings : +**KeyBindings**:\\
 Pairs of keys and action, example : Pairs of keys and action, example :
  
Line 179: Line 174:
 key names are as shown in the key binding tab in the settings dialog action names can be found by running gmusicbrowser with command-line option -listcmd key names are as shown in the key binding tab in the settings dialog action names can be found by running gmusicbrowser with command-line option -listcmd
  
-DefaultFocus : +**DefaultFocus**:\\ 
- +Name of a widget in the layout.\\ 
-name of a widget in the layout +Set which widget gets the initial focus in the window, will probably only work with very simple widgets and with SongList, SongTree and SimpleSearch for now (let me now if you'd like more)
- +
-set which widget gets the initial focus in the window, will probably only work with very simple widgets and with SongList, SongTree and SimpleSearch for now (let me now if you'd like more)+
  
-ExtraWidgets : Allows the addition of extra widgets to the layout (by options or plugin), for each widget types (only button exist now, I expect to add tab or menuitem in the future) a container can be specified where widgets of this type will be added.+**ExtraWidgets**:\\ 
 +Allows the addition of extra widgets to the layout (by options or plugin), for each widget types (only button exist now, I expect to add tab or menuitem in the future) a container can be specified where widgets of this type will be added.
  
-syntax : +syntax: 
  
  ExraWidgets = button container(option1=value1,option2=value)  ExraWidgets = button container(option1=value1,option2=value)
Line 210: Line 204:
 =====Widgets list==== =====Widgets list====
  
-   Most widget options are optional, '' means any other value => default behaviour+Most widget options are optional, %%''%% means any other value => default behaviour
  
-   All widgets options are use this format :  +All widgets options are using this format :  
- key1=val1,key2=val2,..., + ''key1=val1,key2=val2,..., ''
  
-some still accept the old format +some still accept the old format: 
- + ''val1,val2,... ''
- val1,val2,... +
  
 for backward compatibility for backward compatibility
Line 223: Line 216:
 The widgets are listed with this format : The widgets are listed with this format :
  
-WidgetName Widget Description+''WidgetName'' Widget Description
  
-optionkey1 option description and/or possible values+''optionkey1'' option description and/or possible values
  
-optionkey2 ...+''optionkey2'' ...
  
  
Line 237: Line 230:
  
  
-Album Currently playing Album +''Album'' Currently playing Album
- +
-Artist Currently playing Artist +
- +
-Comment Comment of currently playing song +
- +
-Cover Album cover of currently playing song+
  
-forceratio 1 or 0, if 1 always request a square size, useful for tray tip windows as they can't be resized+''Artist'' Currently playing Artist
  
-minsize minimum size+''Comment'' Comment of currently playing song
  
-maxsize maximum size (default is 500)+''Cover'' Album cover of currently playing song\\ 
 +//''forceratio''// 1 or 0, if 1 always request a square size, useful for tray tip windows as they can't be resized\\ 
 +//''minsize''// minimum size\\ 
 +//''maxsize''// maximum size (default is 500)\\
  
-ArtistPic Artist picture of currently playing song. Same options as Cover. With multiple artists, displays only one picture unless the option multiple was given, which can be set to v (vertical) or h (horizontal)+''ArtistPic'' Artist picture of currently playing song. Same options as Cover. With multiple artists, displays only one picture unless the option multiple was given, which can be set to v (vertical) or h (horizontal)
  
-Date Year of currently playing song+''Date'' Year of currently playing song
  
-LabelTime Position of currently playing song+''LabelTime'' Position of currently playing song
  
-Length Length of currently playing song+''Length'' Length of currently playing song
  
-LockAlbum Album lock+''LockAlbum'' Album lock
  
-LockArtist Artist lock+''LockArtist'' Artist lock
  
-Pos Position of currently playing song in the playlist+''Pos'' Position of currently playing song in the playlist
  
-Title Currently playing Title+''Title'' Currently playing Title
  
-Title_by Currently playing Title and Artist+''Title_by'' Currently playing Title and Artist
  
-Scale Playing position slider+''Scale'' Playing position slider
  
-Stars Currently playing Rating+''Stars'' Currently playing Rating
  
-LabelsIcons Icons for currently playing labels for which an icon is defined in ~/.config/gmusicbrowser/icons/ (by a .png or .svg named "label-" followed by the label name.)+''LabelsIcons'' Icons for currently playing labels for which an icon is defined in ~/.config/gmusicbrowser/icons/ (by a .png or .svg named "label-" followed by the label name.)
  
-Visuals Eye candy, only with gstreamer+''Visuals'' Eye candy, only with gstreamer
  
 ===Options common to the label widgets=== ===Options common to the label widgets===
Line 283: Line 273:
 The label widgets include : Album, Artist, Comment, Date, Length, LabelTime, Pos, Title, Title_by and Label The label widgets include : Album, Artist, Comment, Date, Length, LabelTime, Pos, Title, Title_by and Label
  
-  * 'font' : can e used to change the font, the value is passed to the function pango_font_description_from_string.+  * 'font' : can e used to change the font, the value is passed to the function [[http://developer.gnome.org/doc/API/2.0/pango/pango-Fonts.html#pango-font-description-from-string|pango_font_description_from_string]].
  
   * 'minsize' : if set (it is set by default for Album, Artist, Comment, Title, Title_by), the label will request a minimum width (it can have more if packed with the expand option in a container), if the width is not enough to display the text, the text will scroll on mouseover. The value of the minsize option is the width it will request : the unit is in pixels if followed by a 'p' or in the width of the 'X' character if it is only a number   * 'minsize' : if set (it is set by default for Album, Artist, Comment, Title, Title_by), the label will request a minimum width (it can have more if packed with the expand option in a container), if the width is not enough to display the text, the text will scroll on mouseover. The value of the minsize option is the width it will request : the unit is in pixels if followed by a 'p' or in the width of the 'X' character if it is only a number
Line 296: Line 286:
 ===player buttons widgets=== ===player buttons widgets===
  
-Next Next button+''Next'' Next button
  
-Play Play/Pause button+''Play'' Play/Pause button
  
-Prev Previous button+''Prev'' Previous button
  
-Stop Stop button+''Stop'' Stop button
  
-Quit Quit button+''Quit'' Quit button
  
-BContext Button to open context window+''BContext'' Button to open context window
  
-Playlist Button to open Browser window+''Playlist'' Button to open Browser window
  
-Pref Button to open Settings window+''Pref'' Button to open Settings window
  
-ChooseAlbum Open a window to select an album+''ChooseAlbum'' Open a window to select an album
  
-OpenQueue Open a queue window+''OpenQueue'' Open a queue window
  
-Fullscreen Button to switch to/from fullscreen mode+''Fullscreen'' Button to switch to/from fullscreen mode
  
-ChooseRandAlbum Button to select an album at random, option "action" can be playlist, addplay, insertplay, queue or replacequeue+''ChooseRandAlbum'' Button to select an album at random, option "action" can be playlist, addplay, insertplay, queue or replacequeue
  
  
Line 333: Line 323:
 ===player indicators widgets=== ===player indicators widgets===
  
-Filter Playing filter indicator+''Filter'' Playing filter indicator
  
-Queue Queue indicator+''Queue'' Queue indicator
  
-Sort Sort mode indicator+''Sort'' Sort mode indicator
  
-Vol Volume indicator+''Vol'' Volume indicator
  
-VolSlider Volume slider+'''VolSlider'' Volume slider
  
-hide hide the value if true (=1)+''hide'' hide the value if true (=1)
  
-horizontal vertical slider if true (=1)+''horizontal'' vertical slider if true (=1)
  
 All indicators can be changed to buttons with the option button=1. All indicators can be changed to buttons with the option button=1.
Line 360: Line 350:
 Also, a lot of widgets, in particular labels, indicators and buttons, can use the option tip, to define a tooltip for the widget. The tip can contains %-letters to display informations on the current song. Also, a lot of widgets, in particular labels, indicators and buttons, can use the option tip, to define a tooltip for the widget. The tip can contains %-letters to display informations on the current song.
  
-Another common option is cursor, to to change the mouse cursor when it hovers over it (eg : cursor=hand2). See this page for a list of cursor names.+Another common option is cursor, to to change the mouse cursor when it hovers over it (eg : cursor=hand2). See [[http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Gdk/Cursor.html#enum_Gtk2_Gdk_Cursor|this page]] for a list of cursor names.
  
  
Line 380: Line 370:
 To make the layout popup when the Cover widget is clicked rather than hovered, use this option : Cover(click1=PopupCustom(CoverPopup))  To make the layout popup when the Cover widget is clicked rather than hovered, use this option : Cover(click1=PopupCustom(CoverPopup)) 
  
-===miscwidgets===+===MiscWidgets===
  
  
  
-AASearch+''AASearch''\\ 
 +//''aa''// artist or album\\ 
 +//''activate''// addplay or %%''%%
  
-aa artist or album+''Connections'' List the active connections when in gstreamer-server mode (very rough for now, will be improved some day)
  
-activate addplay or ''+''Context'' Context view\\ 
 +//''followselection''// follow songlist selection rather than playing song if true (=1)
  
-Connections List the active connections when in gstreamer-server mode (very rough for now, will be improved some day)+''EditList'' (special)
  
-Context Context view+''Filler'' empty widget, for use with H/VSize
  
-followselection follow songlist selection rather than playing song if true (=1)+''Button'' custom button (other buttons can use these options too)\\ 
 +//''label''// text\\ 
 +//''stock''// icon name, see /usr/share/gmusicbrowser/pix/ or Gtk2 Stock-Items or ~/.config/gmusicbrowser/icons/ (without filename extension)
  
-EditList (special)+''Label'' custom label (other labels can use these options too)\\ 
 +//''text''// label text\\ 
 +//''markup''// text than can include %-letters and pango markup
  
-Filler empty widget, for use with H/VSize+''QueueActions'' combobox to change the queued action
  
-Button custom button (other buttons can use these options too)+''SongSearch''
  
-label text+''TogButton'' Show/Hide other widget(s)\\ 
 +//''icon''// icon name, see /usr/share/gmusicbrowser/pix/ or Gtk2 Stock-Items or ~/.config/gmusicbrowser/icons/ (without filename extension)\\ 
 +//''label''// button text\\ 
 +//''widget''// list of widgets/containers separated by '|'\\ 
 +//''resize''// String of 'h','v' or '_', one by hidden widget : shrink the window vertically (v) or horizontally (h) when each widget is hidden
  
-stock icon name, see /usr/share/gmusicbrowser/pix/ or Gtk2 Stock-Items or ~/.config/gmusicbrowser/icons/ (without filename extension)+''HSeparator'' Horizontal separator
  
-Label custom label (other labels can use these options too)+''VSeparator'' Vertical separator
  
-text label text+''AddLabelEntry'' Entry to add labels to the current song
  
-markup text than can include %-letters and pango markup+''PlayOrderCombo'' Combo box to change play order, the option reqwidth set the requested width, it defaults to 100, -1 to let it grow, but it can grow much to wide, so it's best to set a minimum width and pack it with the expand option
  
-QueueActions combobox to change the queued action +''Equalizer'' Equalizer, only active with gstreamer.
- +
-SongSearch +
- +
-TogButton Show/Hide other widget(s) +
- +
-icon icon name, see /usr/share/gmusicbrowser/pix/ or Gtk2 Stock-Items or ~/.config/gmusicbrowser/icons/ (without filename extension) +
- +
-label button text +
- +
-widget list of widgets/containers separated by '|' +
- +
-resize String of 'h','v' or '_', one by hidden widget : shrink the window vertically (v) or horizontally (h) when each widget is hidden +
- +
-HSeparator Horizontal separator +
- +
-VSeparator Vertical separator +
- +
-AddLabelEntry Entry to add labels to the current song +
- +
-PlayOrderCombo Combo box to change play order, the option reqwidth set the requested width, it defaults to 100, -1 to let it grow, but it can grow much to wide, so it's best to set a minimum width and pack it with the expand option +
- +
-Equalizer Equalizer, only active with gstreamer.+
  
 ===Songlist widgets=== ===Songlist widgets===
Line 446: Line 425:
  
  
-QueueList Display queue (and edit it), accept the same options as SongList+**QueueList** Display queue (and edit it), accept the same options as SongList
  
-SongList+**SongList**\\ 
 +//''hideif''// 'nofilter', 'empty', or %%''%%. Conditions that will make the songlist hide itself or the widgets specified by hidewidget
  
-hideif 'nofilter''empty', or ''Conditions that will make the songlist hide itself or the widgets specified by hidewidget+//''hidewidget''// List of widgets separated with '|'When the hide conditions are met, these widgets will be hidden, by default the songlist is hidden
  
-hidewidget List of widgets separated with '|'. When the hide conditions are met, these widgets will be hidden, by default the songlist is hidden+//''shrinkonhide''// String of 'h','v' or '_', one by hidden widget : shrink vertically (v) or horizontally (h) the window when hidden. When multiple widgets are hidden, a direction or no direction (_) can be specified for each widget by using a string of h/v/_
  
-shrinkonhide String of 'h','v' or '_', one by hidden widget : shrink vertically (v) or horizontally (h) the window when hidden. When multiple widgets are hidden, a direction or no direction (_) can be specified for each widget by using a string of h/v/_+//''mode''// playlist or %%''%% : in playlist mode, the songlist and the playlist are synchronized
  
-mode playlist or '' : in playlist mode, the songlist and the playlist are synchronized+//''activate''// play, queue, playlist, addplay or insertplay. Action when double-clicking on a song : play now, enqueue, set this list as the playlist and play this song, add to playlist, insert in playlist after current position. The action can be followed by a command like this : 
 + activate=play&CloseWindow
  
-activate playqueue, playlist, addplay or insertplay. Action when double-clicking on a song : play now, enqueue, set this list as the playlist and play this song, add to playlist, insert in playlist after current position. The action can be followed by a command like this : activate=play&CloseWindow+//''activateX''// where X is a mouse button numberdefines the action used when the button X is double-clicked
  
-activateX where X is a mouse button number, defines the action used when the button X is double-clicked+//''headers''// off or %%''%%
  
-headers off or ''+//''songypad''// change the default number of pixels between rows
  
-songypad change the default number of pixels between rows+//''no_typeahead''// if true(=1) disable automatic searching when a letter/digit is pressed and the SongList has focus
  
-no_typeahead if true(=1) disable automatic searching when a letter/digit is pressed and the SongList has focus+**TabbedLists** Songlists in tabs, can contain playlist, static lists and the queue. Experimental feature : layouts of type 'P' can be opened in TabbedLists (use the layout property key 'stockicon' to set the tab icon)
  
-TabbedLists Songlists in tabs, can contain playlist, static lists and the queue. Experimental feature : layouts of type 'P' can be opened in TabbedLists (use the layout property key 'stockicon' to set the tab icon) +**SongTree** Very customizable Songlist replacement. Some things are still not implemented : drag and dropping columns, playlist, queue or static list mode, moving songs using the EditListButtons widget (arrows button) and type-ahead search. See [[customization:songtree|this wiki page]] for some documentation. These options works : activate activateX headers songxpad songypad
- +
-SongTree Very customizable Songlist replacement. Some things are still not implemented : drag and dropping columns, playlist, queue or static list mode, moving songs using the EditListButtons widget (arrows button) and type-ahead search. See this wiki page for some documentation. These options works : activate activateX headers songxpad songypad+
  
 ===widgets related to songlists=== ===widgets related to songlists===
Line 482: Line 461:
  
  
-AABox Artist or Album box (name, picture and stats of selected album/artist)+''AABox'' Artist or Album box (name, picture and stats of selected album/artist)\\ 
 +//''aa''// artist or album
  
-aa artist or album+''EditListButtons'' buttons to remove/move the selected song(s) in the songlist and clear the list\\ 
 +//''small''// : if true(=1) hide the label of the remove and clear buttons
  
-EditListButtons buttons to remove/move the selected song(sin the songlist and clear the list+''FBox'' advanced search box (set filter#1)
  
-small : if true(=1) hide the label of the remove and clear buttons+''FLock'' Lock/unlock current songlist filter is put in filter#0
  
-FBox advanced search box (set filter#1)+''FPane'' Filter pane\\ 
 +//''nb''// filter#, filter number to set, the artist/album/genre/date/label/folder pages only show the artist/... for songs matching all filters with a lower number\\ 
 +//''hide''// hide bottom buttons if true(=1)\\ 
 +//''pages''// list of pages separated by '|', among filter, list, savedtree, artist, album, genre, date, label, folder, filesys, lastplay, added, modif, rating. Default pages are savedtree artist album genre date label folder added lastplay rating\\ 
 +//''activate''// play or queue or addplay\\ 
 +//''searchbox''// if true(=1) add a search box to artist/album,genre,label pages\\ 
 +//''no_typeahead''// if true(=1) disable automatic searching when a letter/digit is pressed and the FPane has focus
  
-FLock Lock/unlock : current songlist filter is put in filter#0+''PlayFilter'' Button to Play current songlist filter
  
-FPane Filter pane+''QueueFilter'' Button to Enqueue current songlist filter
  
-nb filter#, filter number to set, the artist/album/genre/date/label/folder pages only show the artist/... for songs matching all filters with a lower number+''Refresh'' Refilter songlist
  
-hide hide bottom buttons if true(=1)+''ResetFilter'' Reset songlist filter
  
-pages list of pages separated by '|', among filter,list,savedtree,artist,album,genre,date,label,folder,filesys,lastplay,added,modif,ratingDefault pages are savedtree artist album genre date label folder added lastplay rating+''SimpleSearch'' simple search entrysearch title/album/artist (set filter#1)the selector icon can be disabled with the option noselector=1. The option activate can be used to set a command to run after enter is pressed.
  
-activate play or queue or addplay +''Total'' Total number/length/size of selected/filter/library\\ 
- +//''size''// change text size, value can be xx-small, x-small, small, medium, large, x-large, xx-large, or see this page\\ 
-searchbox if true(=1) add a search box to artist/album,genre,label pages +//''format''// short or long (default)
- +
-no_typeahead if true(=1) disable automatic searching when a letter/digit is pressed and the FPane has focus +
- +
-PlayFilter Button to Play current songlist filter +
- +
-QueueFilter Button to Enqueue current songlist filter +
-   Refresh Refilter songlist +
- +
-ResetFilter Reset songlist filter +
- +
-SimpleSearch simple search entry, search title/album/artist (set filter#1), the selector icon can be disabled with the option noselector=1. The option activate can be used to set a command to run after enter is pressed. +
- +
-Total Total number/length/size of selected/filter/library +
- +
-size change text size, value can be xx-small, x-small, small, medium, large, x-large, xx-large, or see this page +
- +
-format short or long (default)+
  
 ===MenuItem widgets (can only be put in a MB/SM)=== ===MenuItem widgets (can only be put in a MB/SM)===
Line 527: Line 497:
  
  
-HistItem Filter history (set filter#1+''HistItem'' Filter history (set filter#1)
- +
- +
- +
-LSortItem Sort order for songlist +
- +
-MainMenuItem main menu +
- +
-MenuItem Custom menu item +
- +
-label text +
- +
-icon name of the icon (same as above)+
  
-command gmusicbrowser command to execute+''LSortItem'' Sort order for songlist
  
-togglewidget list of widgets/containers separated by '|'+''MainMenuItem'' main menu
  
-resize only with the togglewidget option, see the resize option of the TogButton+''MenuItem'' Custom menu item\\ 
 +//''label''// text\\ 
 +//''icon''// name of the icon (same as above)\\ 
 +//''command''// gmusicbrowser command to execute\\ 
 +//''togglewidget''// list of widgets/containers separated by '|'\\ 
 +//''resize''// only with the togglewidget option, see the resize option of the TogButton
  
 PFilterItem playing filter menu PFilterItem playing filter menu
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0