openldev/openldev-widgets/openldev-file-tab.h File Reference

FileTab. More...

#include "../openldev-utils.h"
#include <gtksourceview/gtksourceview.h>
#include <gtk/gtk.h>
#include <iostream>
#include <glib.h>
#include <glib-object.h>

Data Structures

struct  FileTab
 Widgets and information for one open file. More...

Functions

GtkWidget * file_tab_new (const char *file)
string file_tab_get_filename_short (FileTab *tab)
void file_tab_set_label (FileTab *tab, const char *file)


Detailed Description


Function Documentation

string file_tab_get_filename_short FileTab tab  ) 
 

Retrieve the file name for the tab. You should use the functions provided by FileManager instead.

Parameters:
tab A new FileTab object
Returns:
The full file name of the tab.

GtkWidget* file_tab_new const char *  file  ) 
 

Create a new FileTab object with the content of the specified file. This should be added to the FileManager tab vector.

Parameters:
file The full file name of a file to open.
Returns:
A new FileTab object.

void file_tab_set_label FileTab tab,
const char *  file
 

Give the file a new name. This does not rename the actual file on the system. You should use the functions provided by FileManager instead.

Parameters:
tab A new FileTab object
file The new full file name for the tab.


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