Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

gtk-missing.h File Reference

#include "gui.h"
#include <gtk/gtk.h>
#include "lib/prop.h"

Go to the source code of this file.

Defines

#define gtk_progress_bar_set_fraction(pb, val)   gtk_progress_set_percentage(GTK_PROGRESS(pb), val)
#define gtk_spin_button_get_value(w)   _gtk_spin_button_get_value(w)

Functions

void gtk_progress_bar_set_text (GtkProgressBar *pb, const gchar *text)
gint gtk_paned_get_position (GtkPaned *paned)
 Get position of divider in a GtkPaned.

gdouble _gtk_spin_button_get_value (GtkSpinButton *)
void gtk_label_printf (GtkLabel *, const gchar *fmt,...) G_GNUC_PRINTF(2
 GtkLabel.

void gtk_entry_printf (GtkEntry *, const gchar *fmt,...) G_GNUC_PRINTF(2
 GtkEntry.

guint32 gtk_editable_get_value_as_uint (GtkEditable *editable)
 GtkEditable.

void widget_init_choices (GtkWidget *widget, GtkSignalFunc func, prop_def_t *def, gpointer user_data)
 GtkCombo.

void option_menu_select_item_by_data (GtkOptionMenu *option_menu, gconstpointer data)
 GtkOptionMenu.

gpointer option_menu_get_selected_data (GtkOptionMenu *option_menu)
 Fetches the data set associated with the selected menu item in the GtkOptionMenu m.

GtkWidget * menu_new_item_with_data (GtkMenu *menu, const gchar *label_text, gpointer data)
 Add a new menu item to the GtkMenu "menu" with the label "label_text" and the data "data".

void gtk_mass_widget_set_sensitive (GtkWidget *tl, const gchar *const list[], guint n, gboolean b)
 GtkWidget.

gint gtk_main_flush (void)
 Process all pending gtk events (id est draw now!).

GtkWidget * radiobutton_get_active_in_group (GtkRadioButton *rb)
 Given a radio button it returns a pointer to the active radio button in the group the given button is in.

void gtk_widget_fix_width (GtkWidget *w, GtkWidget *l, guint chars, guint extra)


Define Documentation

#define gtk_progress_bar_set_fraction pb,
val   )     gtk_progress_set_percentage(GTK_PROGRESS(pb), val)
 

#define gtk_spin_button_get_value  )     _gtk_spin_button_get_value(w)
 


Function Documentation

gdouble _gtk_spin_button_get_value GtkSpinButton *   ) 
 

guint32 gtk_editable_get_value_as_uint GtkEditable *  editable  ) 
 

GtkEditable.

void gtk_entry_printf GtkEntry *  ,
const gchar *  fmt,
... 
 

GtkEntry.

void gtk_label_printf GtkLabel *  ,
const gchar *  fmt,
... 
 

GtkLabel.

gint gtk_main_flush void   ) 
 

Process all pending gtk events (id est draw now!).

Returns:
TRUE if gtk_main_quit has been called for the innermost mainloop. Aborts flush if gtk_main_quit has been called.

void gtk_mass_widget_set_sensitive GtkWidget *  toplevel,
const gchar *const  list[],
guint  n,
gboolean  b
 

GtkWidget.

Sets all to the given sentitivity state.

gint gtk_paned_get_position GtkPaned *  paned  ) 
 

Get position of divider in a GtkPaned.

(in GTK2)

void gtk_progress_bar_set_text GtkProgressBar *  pb,
const gchar *  text
 

void gtk_widget_fix_width GtkWidget *  w,
GtkWidget *  l,
guint  chars,
guint  extra
 

GtkWidget* menu_new_item_with_data GtkMenu *  menu,
const gchar *  label_text,
gpointer  data
 

Add a new menu item to the GtkMenu "menu" with the label "label_text" and the data "data".

gpointer option_menu_get_selected_data GtkOptionMenu *  option_menu  ) 
 

Fetches the data set associated with the selected menu item in the GtkOptionMenu m.

void option_menu_select_item_by_data GtkOptionMenu *  option_menu,
gconstpointer  data
 

GtkOptionMenu.

GtkWidget* radiobutton_get_active_in_group GtkRadioButton *  rb  ) 
 

Given a radio button it returns a pointer to the active radio button in the group the given button is in.

Returns:
NULL if there is no active button.

void widget_init_choices GtkWidget *  widget,
GtkSignalFunc  func,
prop_def_t def,
gpointer  user_data
 

GtkCombo.

Each GtkItem has the choice number set as user_data.


Generated on Sun Feb 12 10:50:02 2006 for Gtk-Gnutella by doxygen 1.3.6