Exemplo n.º 1
0
        protected void OnNvInfosRowActivated(object sender, RowActivatedArgs e)
        {
            GameInfoNode node = nvInfos.NodeStore.GetNode(e.Path) as GameInfoNode;

            if (node != null)
            {
                SelectedGameInfo       = node.GameInfo;
                previewWidget.GameInfo = SelectedGameInfo;
            }
        }
Exemplo n.º 2
0
        void NvInfos_NodeSelection_Changed(object sender, EventArgs e)
        {
            Gtk.NodeSelection selection = (Gtk.NodeSelection)sender;
            GameInfoNode      node      = selection.SelectedNode as GameInfoNode;

            if (node != null)
            {
                SelectedGameInfo       = node.GameInfo;
                previewWidget.GameInfo = SelectedGameInfo;
            }
        }