Have you tried a minimal example? Unfortunately I don't have access to
gtk-2.0 here, but here is a 1.2 sample that works:
#include
#include
#include
#include
static void weak_notify_test(gpointer the_data, GtkObject* o);
static void weak_notify_test(gpointer the_data, GtkObject* o){
int *
I can't find a way to center align the text in a GtkIconView.
You can see problem only when the label take 2 line, because
the second line start at the beginning of the first.
Someone can help?
Thanks
DaveMDS
___
gtk-app-devel-list mailing list
gtk-ap
Thanks for answering. So basically...
(About the g_object_weak_ref)
GDate *date = g_date_new_dmy (1,1,2006);
GtkEntry *entry = gtk_entry_new ();
g_object_weak_ref (G_OBJECT (entry),
(GWeakNotify) g_date_free,
date);
After doing this
Il giorno gio, 07/09/2006 alle 18.55 +0530, Sucheta Ghosh ha scritto:
> Is this possible to connect gtk+ with mysql database or any other
> database? If answer is "yes" then how is this possible?
for example www.gnome-db.org
> Another question:
> How can I select one entry from combobox with gtk
Hello,
Is this possible to connect gtk+ with mysql database or any other
database? If answer is "yes" then how is this possible?
Another question:
How can I select one entry from combobox with gtk?
Another question:
How can I use radiobutton with gtk?
Please give me the answers.
Thanks and re
I am working on an embedded system using a GTK+ application as the front end.
We would like to be able to give the user the ability to change the GTK theme
of the application from within a menu we create in our app. I am currently
using the gtk_rc_parse() function to set the theme by passing
Yea... after thinking about it more I think I'll stick with either
implementing my own widget or using a graph widget (time vs value)
that the user can edit with a pencil, eraser, or line (how reason does
it).
On 9/7/06, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 07, 2006 at 09:42
On Thu, Sep 07, 2006 at 09:42:16AM -0400, Samuel Cormier-Iijima wrote:
>
> I thought g_timeout_add
> would cause timing to be off (it would unsynchronize over time), but
> using a GTimer fixed it.
Yes, g_timeout_add() is just a best-effort timer, no
real-time. But many apps do not need to run th
Thanks for the reply!
That is pretty much what I'm doing currently, although your idea of
using a GSList is a much better solution than the weird struct I'm
using now :-). Also, I wasn't sure whether to use g_timeout_add or to
make another thread to update the slider; I thought g_timeout_add
would
On Thu, Sep 07, 2006 at 08:59:13AM -0400, Samuel Cormier-Iijima wrote:
> This is for music editing software I'm thinking about writing.
> Basically, the user should be able to "record" the volume during
> playback by sliding the GtkHScale around. When he plays it back the
> next time, the volume sh
This is for music editing software I'm thinking about writing.
Basically, the user should be able to "record" the volume during
playback by sliding the GtkHScale around. When he plays it back the
next time, the volume should change according to the way he recorded
it (i.e. it'll wiggle around by it
Samuel Cormier-Iijima ha scritto lo scorso 07/09/2006 05:02:
> Hi everyone,
>
> I have a GtkAdjustment and HScale and I'd like to be able to record
> and playback the user's movement. To clarify: a user should be able to
> push a "record" button, after which he can drag the Scale widget
> however
Hi All,
Can anybody suggest how to create a 2X2 Icons using a IconView Widget.
Thanks and Regards,
supreet
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
13 matches
Mail list logo