callback function help

2001-12-01 Thread A R Hummaida
Dear all i have a call back function that sets values to a globa struct. later another callback fuction tries to read the values in this global struct, but the data in this struct (type gchar) is always either null or corupted. how could go about solving this.i am using c and a lot of the code

program flow--please help

2001-12-06 Thread A R Hummaida
Dear All I am kind of new to gtk's event based flow.. i have a call back function A that within it calls another function B. the later displays a window for the user to confirm something. during this time fuction A does not wait for B to return, but carries till it finshes. thats not what

progress bar help(tried FAQ & list)

2002-01-27 Thread A R Hummaida
dear all i have tried both FAQ & this list for the following. i have a progress bar on the activity mode which i want to be displayed during some heavy computation. i know that i can drive the progress bar from within the computation but i rather not do that. i have some_call back() { gtk_ti

fileselection question

2002-02-04 Thread A R Hummaida
dear all well this question is kind of related to the file selection widget. i have the following GList *my_selection_list; //global // call back for ok button on file selection void on_file_selection_ok_button_clicked (GtkWidget * w, gpointer user_data) { . . gchar *file_selected ; f

Re: Fixed size window

2002-02-27 Thread A R Hummaida
this is from API :). read more there under GtkWindow voidgtk_window_set_policy (GtkWindow *window, gint allow_shrink, gint allow_grow,

Re: Fixed size window

2002-02-27 Thread A R Hummaida
oops read here http://developer.gnome.org/doc/API/gtk/gtkwindow.html A R Hummaida wrote: > this is from API :). read more there under GtkWindow > > > > > > > voidgtk_window_set_policy (GtkWindow > <

Re: How to change a Label of a button

2002-03-12 Thread A R Hummaida
here to set the label: gtk_label_set_text(GTK_LABEL(GTK_BIN(you_button)->child),your_text); to get the label gtk_label_get (GTK_LABEL (GTK_BIN (your_button)->child), &text_in_label); HTH A R [EMAIL PROTECTED] wrote: >Hi, > >I'm trying to change the label of a button, but i don't see