Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-17-2004, 01:39 PM   #1
Registered: Jun 2003
Location: Alphen ad Rijn -- The Netherlands
Distribution: Fedora Core 2 - Slackware 12
Posts: 119

Rep: Reputation: 15
Glade, GTK problem

I have an application with a button and a hscale. The button is used for setting the value of the hscale.

I got the following error:

(kino:14479): Gtk-CRITICAL **: file gtkrange.c: line 669 (gtk_range_set_value): assertion `GTK_IS_RANGE (range)' failed

The code is:

on_BUTTON_clicked (GtkButton *button, gpointer user_data)
GtkRange *scale = (GtkRange *)g_object_get_data(G_OBJECT(button), "hscale1");
gtk_range_set_value(GTK_RANGE(scale), 0);

I get the next error

(kino:14479): Gtk-CRITICAL **: file gtkrange.c: line 669 (gtk_range_set_value): assertion `GTK_IS_RANGE (range)' failed

Can someone help me?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning C with Glade/for GTK+ J_K9 Programming 4 10-31-2005 02:21 PM
showing windows with Glade/GTK cho Programming 1 06-22-2005 04:38 PM
Glade / GTK 2.4 Kane635 Linux - Software 0 09-07-2004 07:53 PM
Help with GTK and Glade autogen gtkmike Programming 0 06-13-2004 04:21 PM
Using optionmenu with Glade/GTk robw Programming 0 11-16-2003 03:38 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration