Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

linux-gtk/uibits.c File Reference

implementation of the ui misc routines More...

#include <uibits.h>

Go to the source code of this file.

Functions

GtkWidget * create_left_label (char *s)
 create a right aligned label

GtkWidget * create_right_label (char *string)
 create a left aligned label


Detailed Description

implementation of the ui misc routines

Bits and bobs for the ui. does things like create aligned labels and such. Anything that needed to be placed in a simple routine to avoid repetition of UI code should go here.

In theory I should be using glade to do the UI, but as most of my programming takes place on the windows platform, glade is not present. it would probably not be that much trouble to get it up and running though. Maybe I should try?

Definition in file uibits.c.


Function Documentation

GtkWidget* create_left_label char *    s
 

create a right aligned label

Parameters:
s  the string to set the value to
Returns:
the newly created right laligned label

Definition at line 18 of file uibits.c.

Referenced by ViewBudget().

GtkWidget* create_right_label char *    string
 

create a left aligned label

Parameters:
string  the string to put into the label
Returns:
the newly created label

Definition at line 28 of file uibits.c.

Referenced by newgame_handler(), and ViewBudget().


Generated on Mon Aug 30 19:44:17 2004 for pocketcity by doxygen1.2.18