Re: gtk text entry

2005-05-17 Thread Maciej Katafiasz
Dnia 18-05-2005, śro o godzinie 10:01 +0530, srinivas napisał: >i am developing gui with glade and c. now i have a "text entry" and > "next button" widget. when i press next button the next frame will be > shown, but before displaying the next frame i would like to check > whether text entry ha

simple example of using gdk_pixbuf_new_from_file

2005-05-17 Thread Raghavendra
-- Forwarded message -- From: Dehua Zhao <[EMAIL PROTECTED]> Date: May 9, 2005 7:32 PM Subject: simple example of using gdk_pixbuf_new_from_file To: gtk-app-devel-list@gnome.org simple example of gdk_pixbuf #include #include #include #include #include #include int main(int argc,

re: undefined reference

2005-05-17 Thread srinivas
hi i got this after compilation: /tmp/ccbxeJnu.o(.text+0xd1b): In function `help':: undefined reference to `gtk_label_set_use_markup' how to resolve this. thanks; vasu. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnom

how to display pixmap on button.

2005-05-17 Thread harshavardhanreddy mandeepala
hi, i have created buttons with some names on them using glade-2 tools. i have used gdk,gtk programming on linux fedora core 3 platrform. now i want to remove those names on buttons and display appropriate pixmap(ex:Back.xpm ,which i have already with me)on the buttons. if u have a solution kind

how to clear the pixmap window

2005-05-17 Thread harshavardhanreddy mandeepala
hi i have created the pixmap using gdk,gtk programming in Linux. after displaying one pixmap on window ,i want to clear this pixmap before displaying another pixmap. "so finally how to clear or refresh the window". if u have a solution kindly send mail to [EMAIL PROTECTED] _

gtk text entry

2005-05-17 Thread srinivas
hi all; i am developing gui with glade and c. now i have a "text entry" and "next button" widget. when i press next button the next frame will be shown, but before displaying the next frame i would like to check whether text entry had filled with some text or not. if it is filled then the frame

Re: gtk_window_set_default_icon_list()

2005-05-17 Thread Owen Taylor
On Tue, 2005-05-17 at 00:14 -0400, Freddie Unpenstein wrote: > I've gone looking through the API, and I'll be stuffed if I can figure > something out... > > As I understand it, you're supposed to load the icons into GdkPixbuf's, store > them in a GSList, and > then feed that list to the gtk_win

Re: How to use the mouse wheel?

2005-05-17 Thread Owen Taylor
On Tue, 2005-05-17 at 19:42 +0200, Daniel Pekelharing wrote: > Hi, > > I'm trying to use the mouse wheel, I already have a mouse callback, > I think I just need to know what the GDK_*_MASK definition is for the > wheel, I have my widget set up for button press/release: > > gtk_widget_add_events(

How to use the mouse wheel?

2005-05-17 Thread Daniel Pekelharing
Hi, I'm trying to use the mouse wheel, I already have a mouse callback, I think I just need to know what the GDK_*_MASK definition is for the wheel, I have my widget set up for button press/release: gtk_widget_add_events(widget, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE

Drag And Drop

2005-05-17 Thread Andy Grebe
I've got a window which has a GtkList on the left side and a table of entries on the right side. I want to be able to drag from the list and drop the selection into an entry. I setup the list as a drag source and each entry as a drag dest. So when I go to drag from the list and drop into the ent

Re: g_signal_connect: what are the "detailed_signal" ?

2005-05-17 Thread David Necas (Yeti)
On Tue, May 17, 2005 at 09:11:15AM +0200, Colossus wrote: > I need to know what are is the signal strings to give to > g_signal_connect() but I didn't find any specs of them in doc. They are arbitrary strings. E.g., GObject's "notify" signal uses property names as details, GtkAccelMap's "changed"

GtkFileChooserDialog do not reacts when clicking on button NEW

2005-05-17 Thread Colossus
GtkWidget *new_archive_dialog; GtkWidget *hbox; GtkWidget *archive_types; int i; new_archive_dialog = gtk_file_chooser_dialog_new ("Create a new archive", GTK_WINDOW(MainWindow), GTK_FILE_CHOOSER_ACTION_SAVE, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_NEW, GTK_RESPONSE_ACCEPT, NULL);

GtkFileChooserButton's mode

2005-05-17 Thread Vivien Malerba
Hi! Does anybody know why the GtkFileChooserButton widget does not accept the GTK_FILE_CHOOSER_ACTION_SAVE mode (or the GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER mode)? Thanks, Vivien ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://

g_signal_connect: what are the "detailed_signal" ?

2005-05-17 Thread Colossus
Hi, I need to know what are is the signal strings to give to g_signal_connect() but I didn't find any specs of them in doc. Possible ? -- Colossus Cpsed, a Linux OpenGL 3D scene editor http://cpsed.sourceforge.net/ ___ gtk-app-devel-list mailing list gtk-