[Glade-users] (no subject)



On Thu, 2005-10-27 at 00:42 +1000, Nor Azhar Sa'ad wrote:
Hi guys. I tried to compile my glade project named "Project7", but i got this
error msg :
"Warning : could not find the widget "spinbutton 65"" <--- sumthin like that...

" (project7:3977):Gtk_CRITICAL **:file spinbutton.c : line
3871(spinbutton_get_value_as_int):
assertion 'GTK_IS_SPINBUTTON (spinbutton)' failed."

The problem is, I created a GUI and the GUI has multiple pop-up windows.
Whenever I set the values in those pop-up windows, those values are supposed to
be processed after one button in the main GUI is pressed. Is the reason for this
errors because I didnt properly connect those windows with the main windows,
hence the signal was not processed correctly? If so, can somebody plz tell me
what do i have to do apart from sending signal n modify the function for the
event of clicking the button in main GUI occured?

You can only use lookup_widget() (or glade_xml_get_widget()) to get
widgets within the same window. If you have multiple windows it is up to
you how you keep track of them (e.g. with global variables).


Also, I need to know how to print screen in LINUX, as I need to include the GUI
i created in my report. Thanks in advance.

If you use a recent version of GNOME, hitting the "Print Screen" key
will take a screenshot. Alternatively you can use the "gimp" graphics
app (use the "File/Acquire/Screenshot" menu command).

Damon





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]