SCALE Pixmap

2004-05-20 Thread Marcos Leal
Hey there, I used to SCALE Gnome Pixmap on GTK 1.X (with Glade) Now on GTK 2.X it's not available. Is there an easy way to scale (stretch) a pixmap on GTK 2 ? Please advise Marcos ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.o

RE: Set Label on Button with Resource File

2004-04-16 Thread Marcos Leal
Thanks Paul, That was exactly what I needed. But is there any way to use just the name of the button that I configured with my Glade (libglade xml) project ? I mean, is there any way of doing that without having to name it on my program (using gtk_widget_set_name) ? []z M

Set Label on Button with Resource File

2004-04-15 Thread Marcos Leal
Hey there, Is that possible to change the Label of a button using just the resource files ? I tried something like widget "mywindow.GtkLabel.my_button" style "white-label" Does anybody have any clue on how to do that ? Marcos __

Re: Differences between Gtk1 and Gtk2

2004-02-26 Thread Marcos Leal
John, There's no 'gpointer user_data' on GTK2 anymore. But, is there any way to do the same thing ? Yes, this is all the same. Just connect to "clicked". http://developer.gnome.org/doc/API/2.0/gtk/GtkButton.html#GtkButton-clicked Okay, but then my problem is with Glade2. On Glade 1 w

Differences between Gtk1 and Gtk2

2004-02-25 Thread Marcos Leal
I used to have some users parameters passed through 'gpointer user_data' For example, the event for pressed button I used to declare in GTK1 like : void on_button_pressed(GtkButton *button, gpointer user_data) I don't even know if this is the right thing to do. There's no 'gpointer user_data' on G