openldev/openldev-widgets/openldev-sidebar.h File Reference

SideBar. More...

#include "openldev-file-browser.h"
#include <gtk/gtk.h>
#include <glib-object.h>
#include <glib.h>

Data Structures

struct  SideBar
 GtkNotebook widget that holds the FileBrowser widget. More...

Functions

void sidebar_add_tab (SideBar *sidebar, GtkWidget *child, GtkWidget *tab_label)
FileBrowsersidebar_get_file_browser (SideBar *sidebar)


Detailed Description


Function Documentation

void sidebar_add_tab SideBar sidebar,
GtkWidget *  child,
GtkWidget *  tab_label
 

Add a new tab to the GtkNotebook. You can add any widget that you want as the tab_label and child.

Parameters:
sidebar A SideBar widget.
child GtkWidget that will be displayed as the content when the tab is selected.
tab_label GtkWidget used as the label in the tab.

FileBrowser* sidebar_get_file_browser SideBar sidebar  ) 
 

Retrieve the FileBrowser widget that was created by sidebar_new().

Parameters:
sidebar A SideBar widget.
Returns:
A FileBrowser widget.


Generated on Sun May 14 14:57:41 2006 for OpenLDev by  doxygen 1.4.6