>> Also, can I get it to only display values as integers ("1" instead of
>> "1.0")?
Paul> this may do the trick:
Paul> gtk_hscale_set_digits (GTK_SCALE(hsc), 0);
Thanks, this did the trick. In fact, it solves both problems. It limits
the display of the number of digits after
>adj = gtk.GtkAdjustment(1,1,6,1,1,1)
>hsc = gtk.GtkHScale(adj)
>
>If I click in the trough, it increments or decrements by 1. However, if I
>drag the slider, it increments by 0.1. I only want it to take on integer
>values between 1 and 5 (inclusive). Is there a way to force the step
>i
I created a scale widget in Python like so:
adj = gtk.GtkAdjustment(1,1,6,1,1,1)
hsc = gtk.GtkHScale(adj)
If I click in the trough, it increments or decrements by 1. However, if I
drag the slider, it increments by 0.1. I only want it to take on integer
values between 1 and 5 (inclusiv
i've run into this problem several times before, but i've forgotten
how to fix it.
i changed the layout of one of my windows. i used to pack 2 widgets into
a table, then pack the table into a scrolled window, then put the
window in a vbox, then that into an hbox, and add the hbox to the main
even
Hi
Havoc Pennington wrote:
>>My gtk12-config doesn't show -lintl:
>>
>>[tilman@tl tilman]$ gtk12-config --libs
>>-L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E
>>-lgmodule12 -lglib12 -lXext -lX11 -lm
>>
>>My Hosts OS is FreeBSD. The libintl.so and libintl.a are in /usr/
"Marek Stochel" <[EMAIL PROTECTED]> writes:
> An application is using gtk, but not in graphical form (gtk_timeout_add &
> remove)
>
...
> So, as it doesn't need any display is there a possibility to start it as
> described above?
>
> Or the only way is to get rid of gtk functions in this appl
[EMAIL PROTECTED] writes:
> To my question: is it correct, that I can use/sell my programs (using
> GTK+) commercially, WITHOUT paying a license fee to someone???
Yes, that is generally considered true. But, I am not a lawyer, etc.
You do have some obligations; briefly, it must be possible for
Tilman Linneweh <[EMAIL PROTECTED]> writes:
> My gtk12-config doesn't show -lintl:
>
> [tilman@tl tilman]$ gtk12-config --libs
> -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E
> -lgmodule12 -lglib12 -lXext -lX11 -lm
>
> My Hosts OS is FreeBSD. The libintl.so and libin
Use the g_timer_xxx functions instead of gtk_timer_xxx, and
link with glib only.
Ralph Walden
> Marek Stochel wrote:
>
> I'd like to get such result:
> An application is using gtk, but not in graphical form
> (gtk_timeout_add & remove)
> It acts as a daemon - collects information, serving to o
Hello everybody,
this is my first message to this mailing list, so, don't beat me if
I go against some rules.
To my question: is it correct, that I can use/sell my programs (using
GTK+) commercially, WITHOUT paying a license fee to someone???
I don't plan to make modifications to the GTK+ librar
I'd like to get such result:
An application is using gtk, but not in
graphical form (gtk_timeout_add & remove)
It acts as a daemon - collects information,
serving to other applications, etc.
The operating system is Solaris7, and
application is compiled under
gcc.
When initiated as last of rc
Hi
My gtk12-config doesn't show -lintl:
[tilman@tl tilman]$ gtk12-config --libs
-L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib
-Wl,-E -lgmodule12 -lglib12 -lXext -lX11 -lm
My Hosts OS is FreeBSD. The libintl.so and libintl.a are in /usr/local/lib.
I can only compile gtk-ap
12 matches
Mail list logo