From: Alan Knowles Date: Mon, 2 Feb 2015 04:56:55 +0000 (+0800) Subject: sync X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=c1d7e7cabf38b3de778403419ba6204428434ba7 sync --- diff --git a/resources/GtkUsage.txt b/resources/GtkUsage.txt new file mode 100644 index 000000000..4895e1ff3 --- /dev/null +++ b/resources/GtkUsage.txt @@ -0,0 +1,290 @@ + +// what can be added where... + +left: + *top +right: + Gtk.Window + Gtk.Dialog + Gtk.MessageDialog + Gtk.AboutDialog + Gtk.Dialog + Gtk.FontSelectionDialog + Gtk.InputDialog + Gtk.ColorSelectionDialog + Gtk.FileChooserDialog + Gtk.Menu + GtkClutter.Window + Gtk.OffScreenWindow + + Clutter.ScrollActor + Clutter.Actor +// these should really be based on heirachy.. + +left: + Gtk.Window + Gtk.Dialog + Gtk.MessageDialog + Gtk.AboutDialog + Gtk.Dialog + Gtk.OffScreenWindow + + Gtk.Alignment + Gtk.AspectFrame + Gtk.HBox + Gtk.VBox + Gtk.HButtonBox + Gtk.VButtonBox + Gtk.HPaned + Gtk.VPaned + Gtk.Table + Gtk.Layout + Gtk.Notebook + //Gtk.Table + //Gtk.Fixed + Gtk.Expander + Gtk.Frame + Gtk.ScrolledWindow + Gtk.ToolItem + Gtk.Viewport + Gtk.Button + GtkClutter.Actor + +right: + Gtk.Alignment + Gtk.AspectFrame + Gtk.HBox + Gtk.VBox + Gtk.HButtonBox + Gtk.VButtonBox + Gtk.Fixed + Gtk.HPaned + Gtk.VPaned + Gtk.Layout + Gtk.Notebook + Gtk.Table + Gtk.Expander + Gtk.Frame + + Gtk.ScrolledWindow + Gtk.AccelLabel + Gtk.Image + Gtk.Label + Gtk.ProgressBar + Gtk.Statusbar + Gtk.InfoBar + Gtk.StatusIcon + Gtk.Spinner + Gtk.Button + Gtk.CheckButton + Gtk.RadioButton + Gtk.ToggleButton + Gtk.LinkButton + Gtk.ScaleButton + Gtk.VolumeButton + Gtk.Entry + Gtk.HScale + Gtk.VScale + Gtk.SpinButton + Gtk.TreeView + Gtk.TextView + Gtk.ComboBox + Gtk.ComboBoxEntry + Gtk.Menu + Gtk.MenuBar + Gtk.Toolbar + Gtk.ToolPalette + Gtk.ColorButton + Gtk.ColorSelection + Gtk.HSV + Gtk.FileChooserButton + Gtk.FileChooserWidget + Gtk.FontButton + GtkSource.View + WebKit.WebView + Gtk.Viewport + Vte.Terminal + GtkClutter.Embed + Gdl.Dock + Gdl.DockBar + +left: + Gdl.Dock +right: + Gdl.DockItem + + + + +left: + Gdl.DockItem +right: + Gdl.DockItem + + Gtk.Alignment + Gtk.AspectFrame + Gtk.HBox + Gtk.VBox + Gtk.HButtonBox + Gtk.VButtonBox + Gtk.Fixed + Gtk.HPaned + Gtk.VPaned + Gtk.Layout + Gtk.Notebook + Gtk.Table + Gtk.Expander + Gtk.Frame + + Gtk.ScrolledWindow + Gtk.AccelLabel + Gtk.Image + Gtk.Label + Gtk.ProgressBar + Gtk.Statusbar + Gtk.InfoBar + Gtk.StatusIcon + Gtk.Spinner + Gtk.Button + Gtk.CheckButton + Gtk.RadioButton + Gtk.ToggleButton + Gtk.LinkButton + Gtk.ScaleButton + Gtk.VolumeButton + Gtk.Entry + Gtk.HScale + Gtk.VScale + Gtk.SpinButton + Gtk.TreeView + Gtk.ComboBox + Gtk.ComboBoxEntry + Gtk.Menu + Gtk.MenuBar + Gtk.Toolbar + Gtk.ToolPalette + Gtk.ColorButton + Gtk.ColorSelection + Gtk.HSV + Gtk.FileChooserButton + Gtk.FileChooserWidget + Gtk.FontButton + GtkSource.View + WebKit.WebView + Vte.Terminal + GtkClutter.Embed + + + + +left: + Gtk.MenuBar + Gtk.Menu +right: + Gtk.MenuItem + Gtk.ImageMenuItem + Gtk.RadioMenuItem + Gtk.CheckMenuItem + Gtk.SeparatorMenuItem + Gtk.TearoffMenuItem +left: + Gtk.MenuItem:submenu +right: + Gtk.Menu + +left: + Gtk.Toolbar +right: + Gtk.ToolButton + Gtk.ToolItem + Gtk.MenuToolButton + Gtk.ToggleToolButton + Gtk.RadioToolButton + Gtk.ToolItemGroup + Gtk.SeparatorToolItem + + +left: + Gtk.TreeView +right: + Gtk.TreeStore + Gtk.ListStore + Gtk.TreeModelFilter + Gtk.TreeViewColumn + +left: + Gtk.TreeModelFilter +right: + Gtk.TreeStore + Gtk.ListStore + +left: + Gtk.TreeViewColumn +right: + Gtk.CellRendererText + Gtk.CellRendererCombo + Gtk.CellRendererToggle + +left: + Gtk.CellRendererCombo:model + Gtk.ComboBox +right: + Gtk.ListStore + + +left: + Gtk.ComboBox +right: + Gtk.CellRendererText + + + +left: + Gtk.ScrolledWindow +right: + Gtk.Viewport + + + +left: + GtkSource.View +right: + GtkSource.Buffer + + + +left: + GtkClutter.Window + GtkClutter.Embed + +right: + GtkClutter.Actor + +left: + Gdl.Dock +right: + Gdl.DockItem + + +left: + Clutter.ScrollActor:layout_manager + Clutter.Actor:layout_manager +right: + Clutter.GridLayout + Clutter.FlowLayout + Clutter.FixedLayout + Clutter.TableLayout + Clutter.BinLayout + Clutter.BoxLayout + +left: + Clutter.ScrollActor + Clutter.Actor +right: + Clutter.Actor + Clutter.ScrollActor + Clutter.Texture + Clutter.Text + Clutter.Rectangle + + \ No newline at end of file diff --git a/resources/RooUsage.txt b/resources/RooUsage.txt new file mode 100644 index 000000000..d156db456 --- /dev/null +++ b/resources/RooUsage.txt @@ -0,0 +1,552 @@ + +// what can be added where... + +left: + *top +right: + Roo.LayoutDialog + Roo.NestedLayoutPanel + Roo.ContentPanel + Roo.GridPanel + Roo.TreePanel + Roo.bootstrap.Body + Roo.bootstrap.Modal + Roo.bootstrap.Container + Roo.mailer.Body + + +// added with a property.. (*prop) + +left: + Roo.LayoutDialog:center + Roo.LayoutDialog:east + Roo.LayoutDialog:west + Roo.LayoutDialog:south + Roo.LayoutDialog:north + Roo.BorderLayout:center + Roo.BorderLayout:east + Roo.BorderLayout:west + Roo.BorderLayout:south + Roo.BorderLayout:north +right: + Roo.LayoutRegion + +// add with region? region= + +left: + Roo.LayoutDialog + Roo.BorderLayout +right: + Roo.ContentPanel + Roo.NestedLayoutPanel + Roo.GridPanel + Roo.TreePanel + +// should probably look like this +// Roo.ContentPanel:region=center +// Roo.NestedLayoutPanel:region=center +// Roo.GridPanel:region=center +// Roo.TreePanel:region=center + + +left: + Roo.NestedLayoutPanel:layout +right: + Roo.BorderLayout + + +left: + Roo.ContentPanel +right: + Roo.form.Form + Roo.JsonView + Roo.View + +// some popup menus.. +left: + Roo.ContentPanel:menu + Roo.NestedLayoutPanel:menu + Roo.GridPanel:menu + Roo.TreePanel:menu +right: + Roo.menu.Menu + + +// Parent items +left: + Roo.form.Form + Roo.form.FieldSet + Roo.form.Column + Roo.form.Row + +right: + Roo.form.Column + Roo.form.FieldSet + Roo.form.Row + Roo.form.Hidden + Roo.form.TextField + Roo.form.GridField + Roo.form.DateField + Roo.form.NumberField + Roo.form.Checkbox + Roo.form.Radio + Roo.form.ComboBox + Roo.form.ComboBoxArray + Roo.form.TextArea + Roo.form.HtmlEditor + Roo.form.FCKeditor + Roo.Button + +left: + Roo.form.HtmlEditor:toolbars[] +right: + Roo.form.HtmlEditor.ToolbarStandard + Roo.form.HtmlEditor.ToolbarContext + +left: + Roo.form.HtmlEditor.ToolbarStandard:btns[] + Roo.form.HtmlEditor.ToolbarContext:btns[] +right: + Roo.form.TextField + Roo.form.DateField + Roo.form.NumberField + Roo.form.Checkbox + Roo.form.Radio + Roo.form.ComboBox + Roo.form.TextArea + Roo.Toolbar.Button + Roo.Toolbar.Fill + Roo.Toolbar.Separator + Roo.Toolbar.Spacer + Roo.Toolbar.SplitButton + Roo.Toolbar.TextItem + +left: + Roo.grid.GridEditor:field +right: + Roo.form.TextField + Roo.form.DateField + Roo.form.NumberField + Roo.form.Checkbox + Roo.form.Radio + Roo.form.ComboBox + Roo.form.TextArea + + + +left: + Roo.LayoutDialog:buttons[] + Roo.form.Form:buttons[] +right: + Roo.Button + + + + + +//Toolbar +left: + Roo.Toolbar + Roo.PagingToolbar +right: + Roo.Toolbar.Button + Roo.Toolbar.Fill + Roo.Toolbar.Separator + Roo.Toolbar.Spacer + Roo.Toolbar.SplitButton + Roo.Toolbar.TextItem + Roo.form.ComboBox + Roo.form.DateField + Roo.form.TextField + + +left: + Roo.Toolbar.Button:menu + Roo.Toolbar.SplitButton:menu + Roo.menu.Item:menu +right: + Roo.menu.Menu + + + + +//Menu +left: + Roo.menu.Menu +right: + Roo.menu.CheckItem + Roo.menu.ColorItem + Roo.menu.DateItem + Roo.menu.DateMenu + Roo.menu.Separator + Roo.menu.TextItem + Roo.menu.Item + + + + +//Grids +left: + Roo.GridPanel:grid +right: + Roo.grid.Grid + Roo.grid.EditorGrid + Roo.grid.PropertyGrid + + +left: + Roo.grid.Grid:sm + Roo.grid.EditorGrid:sm +right: + Roo.grid.CellSelectionModel + Roo.grid.RowSelectionModel + +left: + Roo.grid.Grid:view +right: + Roo.grid.EditorGrid:view + Roo.grid.GridView + +left: + Roo.grid.Grid:cm[] + Roo.grid.EditorGrid:cm[] +right: + Roo.grid.ColumnModel + +left: + Roo.grid.ColumnModel:editor +right: + Roo.grid.GridEditor + + +left: + Roo.grid.EditorGrid:footer + Roo.grid.Grid:footer + Roo.Grid:footer +right: + Roo.PagingToolbar + + +left: + Roo.grid.EditorGrid:toolbar + Roo.grid.Grid:toolbar + Roo.Grid:toolbar + Roo.ContentPanel:toolbar + Roo.TreePanel:toolbar +right: + Roo.Toolbar + + + + +//Tree +left: + Roo.TreePanel:tree +right: + Roo.tree.TreePanel + +left: + Roo.tree.TreePanel:root +right: + Roo.tree.AsyncTreeNode + Roo.tree.TreeNode + +left: + Roo.tree.TreePanel:editor +right: + Roo.tree.TreeEditor + +left: + Roo.tree.TreeEditor:field +right: + Roo.form.TextField + + + +left: + Roo.tree.TreePanel:loader +right: + Roo.tree.TreeLoader + +left: + Roo.tree.TreePanel:sm +right: + Roo.tree.DefaultSelectionModel + Roo.tree.MultiSelectionModel + + +// combos + +left: + Roo.grid.EditorGrid:ds + Roo.grid.Grid:ds + Roo.form.ComboBox:store + Roo.View:store + Roo.JsonView:store + Roo.bootstrap.ComboBox:store + Roo.bootstrap.Calendar:store + Roo.bootstrap.Table:store +right: + Roo.data.Store + Roo.data.SimpleStore + +left: + Roo.form.ComboBoxArray:combo +right: + Roo.form.ComboBox + +left: + Roo.data.Store:proxy +right: + Roo.data.HttpProxy + Roo.data.MemoryProxy + + +left: + Roo.data.Store:reader +right: + Roo.data.JsonReader + Roo.data.ArrayReader + Roo.data.XmlReader + +left: + Roo.View:tpl + Roo.JsonView:tpl +right: + Roo.Template + + + //drag drop.. +left: + Roo.grid.Grid:dragTarget +right: + Roo.dd.DropTarget + + + + +// bootstrap? + +left: + Roo.bootstrap.Body + Roo.bootstrap.Container + Roo.bootstrap.Modal + Roo.bootstrap.Column + Roo.bootstrap.Row + Roo.bootstrap.TabPanel + Roo.bootstrap.Element +right: + Roo.bootstrap.Container + Roo.bootstrap.Button + Roo.bootstrap.ButtonGroup + Roo.bootstrap.Column + Roo.bootstrap.Form + Roo.bootstrap.Navbar + Roo.bootstrap.NavGroup + Roo.bootstrap.NavSimplebar + Roo.bootstrap.NavHeaderbar + Roo.bootstrap.NavSidebar + Roo.bootstrap.Row + Roo.bootstrap.Header + Roo.bootstrap.Img + Roo.bootstrap.Link + Roo.bootstrap.Calendar + Roo.bootstrap.Popover + Roo.bootstrap.Input + Roo.bootstrap.TextArea + Roo.bootstrap.Table + Roo.bootstrap.Pagination + Roo.bootstrap.Progress + Roo.bootstrap.TabPanel + Roo.bootstrap.DateField + Roo.bootstrap.TimeField + Roo.bootstrap.CheckBox + Roo.bootstrap.Radio + Roo.bootstrap.ComboBox + Roo.bootstrap.Element + Roo.bootstrap.HtmlEditor + Roo.bootstrap.MessageBar + Roo.bootstrap.dash.NumberBox + Roo.bootstrap.Graph + Roo.bootstrap.dash.TabBox + Roo.bootstrap.menu.Menu + +left: + Roo.bootstrap.Progress +right: + Roo.bootstrap.ProgressBar + +left: + Roo.bootstrap.Table +right: + Roo.bootstrap.TableRow + Roo.bootstrap.TableCell + Roo.bootstrap.TableBody + +left: + Roo.bootstrap.Table:cm[] +right: + Roo.grid.ColumnModel + + +#-??? it this correct? +left: + Roo.bootstrap.Table:sm +right: + Roo.bootstrap.Table.RowSelectionModel + + +left: + Roo.bootstrap.Table:footer +right: + Roo.bootstrap.PagingToolbar + +left: + Roo.bootstrap.PagingToolbar:buttons[] +right: + Roo.bootstrap.Button + +left: + Roo.bootstrap.TableBody +right: + Roo.bootstrap.TableRow + Roo.bootstrap.TableCell + +left: + Roo.bootstrap.TableRow +right: + Roo.bootstrap.TableCell + +left: + Roo.bootstrap.TableCell +right: + Roo.bootstrap.Button + +left: + Roo.bootstrap.ButtonGroup +right: + Roo.bootstrap.Button + Roo.bootstrap.Form + +left: + Roo.bootstrap.Button:menu + Roo.bootstrap.NavItem:menu + Roo.bootstrap.NavSidebarItem:menu +right: + Roo.bootstrap.Menu + +left: + Roo.bootstrap.Menu +right: + Roo.bootstrap.MenuItem + +left: + Roo.bootstrap.Navbar + Roo.bootstrap.NavSimplebar + Roo.bootstrap.NavHeaderbar + Roo.bootstrap.NavSidebar +right: + Roo.bootstrap.NavGroup + Roo.bootstrap.Form + Roo.bootstrap.Row + Roo.bootstrap.Column + Roo.bootstrap.Container + Roo.bootstrap.Link + +left: + Roo.bootstrap.NavGroup +right: + Roo.bootstrap.NavItem + Roo.bootstrap.NavSidebarItem + + +left: + Roo.bootstrap.Form + Roo.bootstrap.Container +right: + Roo.bootstrap.Input + Roo.bootstrap.TextArea + Roo.bootstrap.Button + Roo.bootstrap.ComboBox + Roo.bootstrap.Container + Roo.bootstrap.Row + Roo.bootstrap.TabPanel +// Roo.bootstrap.Fieldset + +left: + Roo.bootstrap.Body +right: + Roo.bootstrap.Modal + +left: + Roo.bootstrap.Modal:buttons[] +right: + Roo.bootstrap.Button + +left: + Roo.bootstrap.Header +right: + Roo.bootstrap.Container + +left: + Roo.bootstrap.NavItem + Roo.bootstrap.NavSidebarItem +right: + Roo.bootstrap.Container + +left: + Roo.bootstrap.Pagination +right: + Roo.bootstrap.PaginationItem + +left: + Roo.bootstrap.Input:before + Roo.bootstrap.Input:after +right: + Roo.bootstrap.Button + +left: + Roo.mailer.Body +right: + Roo.mailer.BodyContainer + +left: + Roo.mailer.BodyContainer +right: + Roo.mailer.Block + +left: + Roo.mailer.Block +right: + Roo.mailer.Column + +left: + Roo.mailer.Column + Roo.mailer.Block +right: + Roo.bootstrap.Header + Roo.bootstrap.Container + Roo.bootstrap.Image + Roo.bootstrap.Link +left: + Roo.bootstrap.dash.TabBox +right: + Roo.bootstrap.dash.TabPane + +left: + Roo.bootstrap.dash.TabPane +right: + Roo.bootstrap.Graph + Roo.bootstrap.Column + + +left: + Roo.bootstrap.menu.Menu +right: + Roo.bootstrap.menu.Item + Roo.bootstrap.menu.Separator + +left: + Roo.bootstrap.menu.Item +right: + Roo.bootstrap.menu.Menu \ No newline at end of file