Lines Matching refs:Sidebar

7 public class Sidebar.Tree : Gtk.TreeView {
12 public delegate void ExternalDropHandler(Gdk.DragContext context, Sidebar.Entry? entry,
16 public Sidebar.Entry entry;
19 public EntryWrapper(Gtk.TreeModel model, Sidebar.Entry entry, Gtk.TreePath path) {
40 …public RootWrapper(Gtk.TreeModel model, Sidebar.Entry entry, Gtk.TreePath path, int root_position)…
66 private Gee.HashMap<Sidebar.Entry, EntryWrapper> entry_map =
67 new Gee.HashMap<Sidebar.Entry, EntryWrapper>();
68 private Gee.HashMap<Sidebar.Branch, int> branches = new Gee.HashMap<Sidebar.Branch, int>();
76 private Sidebar.Entry? internal_drag_source_entry = null;
79 public signal void entry_selected(Sidebar.SelectableEntry selectable);
81 public signal void selected_entry_removed(Sidebar.SelectableEntry removed);
83 public signal void branch_added(Sidebar.Branch branch);
85 public signal void branch_removed(Sidebar.Branch branch);
87 public signal void branch_shown(Sidebar.Branch branch, bool shown);
89 public signal void page_created(Sidebar.PageRepresentative entry, Page page);
91 public signal void destroying_page(Sidebar.PageRepresentative entry, Page page);
135 // Sidebar.Entry as it was added, but that's a tad too complicated for our needs
165 renderer.visible = !(wrapper.entry is Sidebar.Header);
214 private bool has_wrapper(Sidebar.Entry entry) {
218 private EntryWrapper? get_wrapper(Sidebar.Entry entry) {
250 public bool place_cursor(Sidebar.Entry entry, bool mask_signal) {
267 public bool is_selected(Sidebar.Entry entry) {
295 private string get_name_for_entry(Sidebar.Entry entry) {
298 Sidebar.EmphasizableEntry? emphasizable_entry = entry as Sidebar.EmphasizableEntry;
323 … if (editing_disabled == 0 && wrapper != null && wrapper.entry is Sidebar.RenameableEntry)
324 … text_renderer.editable = ((Sidebar.RenameableEntry) wrapper.entry).is_user_renameable();
327 Sidebar.SelectableEntry? selectable = wrapper.entry as Sidebar.SelectableEntry;
351 if (wrapper != null && (wrapper.entry is Sidebar.RenameableEntry))
352 text_renderer.editable = ((Sidebar.RenameableEntry) wrapper.entry).
365 public bool expand_to_entry(Sidebar.Entry entry) {
376 public void expand_to_first_child(Sidebar.Entry entry) {
395 public void graft(Sidebar.Branch branch, int position) requires (position >= 0) {
421 private void associate_branch(Sidebar.Branch branch) {
456 private void associate_children(Sidebar.Branch branch, Sidebar.Entry parent,
458 Gee.List<Sidebar.Entry>? children = branch.get_children(parent);
462 foreach (Sidebar.Entry child in children) {
471 private void associate_entry(Gtk.TreeIter assoc_iter, Sidebar.Entry entry) {
476 Sidebar.Entry entry = wrapper.entry;
489 Sidebar.PageRepresentative? pageable = entry as Sidebar.PageRepresentative;
495 Sidebar.EmphasizableEntry? emphasizable = entry as Sidebar.EmphasizableEntry;
499 Sidebar.RenameableEntry? renameable = entry as Sidebar.RenameableEntry;
507 Sidebar.Entry entry = current_wrapper.entry;
523 public void prune(Sidebar.Branch branch) {
542 private void disassociate_branch(Sidebar.Branch branch) {
557 Sidebar.SelectableEntry? selectable = wrapper.entry as Sidebar.SelectableEntry;
590 Sidebar.Entry entry = wrapper.entry;
597 Sidebar.PageRepresentative? pageable = entry as Sidebar.PageRepresentative;
603 Sidebar.RenameableEntry? renameable = entry as Sidebar.RenameableEntry;
607 Sidebar.EmphasizableEntry? emphasizable = entry as Sidebar.EmphasizableEntry;
615 private void on_branch_entry_added(Sidebar.Branch branch, Sidebar.Entry entry) {
616 Sidebar.Entry? parent = branch.get_parent(entry);
623 Sidebar.Entry? next = branch.get_next_sibling(entry);
641 private void on_branch_entry_removed(Sidebar.Branch branch, Sidebar.Entry entry) {
649 private void on_branch_entry_moved(Sidebar.Branch branch, Sidebar.Entry entry) {
656 Sidebar.Entry? prev = branch.get_previous_sibling(entry);
668 private void on_branch_entry_reparented(Sidebar.Branch branch, Sidebar.Entry entry,
669 Sidebar.Entry old_parent) {
680 Sidebar.Entry? parent = branch.get_parent(entry);
688 Sidebar.Entry? prev = branch.get_previous_sibling(entry);
707 private void on_branch_children_reordered(Sidebar.Branch branch, Sidebar.Entry entry) {
708 Gee.List<Sidebar.Entry>? children = branch.get_children(entry);
713 // are presented in the Sidebar.Branch list.
714 foreach (Sidebar.Entry child in children) {
723 private void on_show_branch(Sidebar.Branch branch, bool shown) {
732 private void on_sidebar_tooltip_changed(Sidebar.Entry entry, string? tooltip) {
739 private void on_sidebar_icon_changed(Sidebar.Entry entry, string? icon_name) {
753 private void rename_entry(Sidebar.Entry entry) {
760 private void on_sidebar_name_changed(Sidebar.Entry entry, string name) {
764 private void on_sidebar_page_created(Sidebar.PageRepresentative entry, Page page) {
768 private void on_is_emphasized_changed(Sidebar.EmphasizableEntry entry, bool is_emphasized) {
772 private void on_sidebar_destroying_page(Sidebar.PageRepresentative entry, Page page) {
809 return (wrapper != null) ? (wrapper.entry is Sidebar.SelectableEntry) : false;
850 Sidebar.Contextable? contextable = wrapper.entry as Sidebar.Contextable;
855 Sidebar.SelectableEntry? selectable = wrapper.entry as Sidebar.SelectableEntry;
891 …if (is_row_expanded(path) && store.iter_has_child(iter) && wrapper.entry is Sidebar.SelectableEntr…
941 if (wrapper.entry is Sidebar.ExpandableEntry
942 || wrapper.entry is Sidebar.InternalDropTargetEntry) {
958 if (wrapper.entry is Sidebar.RenameableEntry &&
959 ((Sidebar.RenameableEntry) wrapper.entry).is_user_renameable()) {
1005 public bool rename_entry_in_place(Sidebar.Entry entry) {
1029 public bool scroll_to_entry(Sidebar.Entry entry) {
1044 Sidebar.SelectableEntry selectable =
1045 internal_drag_source_entry as Sidebar.SelectableEntry;
1101Sidebar.InternalDropTargetEntry? targetable = wrapper.entry as Sidebar.InternalDropTargetEntry;
1150 Sidebar.RenameableEntry? renameable = wrapper.entry as Sidebar.RenameableEntry;
1154 if (wrapper.entry is Sidebar.Header)
1167 Sidebar.DestroyableEntry? destroyable = wrapper.entry as Sidebar.DestroyableEntry;
1197 Sidebar.RenameableEntry? renameable = wrapper.entry as Sidebar.RenameableEntry;