openldev/openldev-widgets/openldev-goto-line-toolbar.h File Reference

GotoLineToolbar. More...

#include <gtk/gtk.h>

Data Structures

struct  GotoLineToolbar
 Goto line toolbar widgets including an error message. More...

Functions

void openldev_goto_toolbar_show_error (GotoLineToolbar *toolbar, gboolean show)
int openldev_goto_toolbar_get_goto_value (GotoLineToolbar *toolbar)


Detailed Description


Function Documentation

int openldev_goto_toolbar_get_goto_value (  GotoLineToolbar *  toolbar  ) 
 

Get the line number the user wants to jump to. This can be in the range of 1 to 9999, so you must check the validity of the value and set the error message accordingly.

Parameters:
toolbar A GotoLineToolbar widget.
Returns:
Line number the user wants to jump to.

void openldev_goto_toolbar_show_error (  GotoLineToolbar *  toolbar,
gboolean  show
) 
 

Show or hide the error message on the toolbar. When the line is out of bounds of the current file, this should be set to TRUE.

Parameters:
toolbar A GotoLineToolbar widget.
show TRUE if the error message should be shown.


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