re:script dir

2005-07-19 Thread srinivas
hi; my glade project not having data, scripts directories. what changes or what am i supposed to add to get those directories in my glade project. thanks; sri ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

re:gtk directory

2005-07-16 Thread srinivas
hi; i want to know is there any routines for creating directory browser, with tree like hierarchy. any examples. thanks; srinivas. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

tree expand

2005-07-12 Thread srinivas
hi; how to create root tree subtree with gtktreeview. i.e a tree having parent, child with expand collapse functionality (display with +/- nodes). any samples how to start. thanks; sri ___ gtk-app-devel-list mailing list

tree expand

2005-07-12 Thread srinivas
thanks for reply; i saw the tutorial, i had one doubt, actually i want to display like in the given fig. but using gtk tree view we have to add pixmaps with text, is there any way by which we can get this image format.i.e with when mouse pressed on '+' it has to expand and if pressed on

tree exapnd

2005-07-11 Thread srinivas
hi; i want to develop a treeview items with expand and collapse. i used gtk_tree but this one is deprecated, so using gtk tree view how can i get this functionality. i.e with main root tree will be having sub tree, and expand collapse functionality. thanks; srinivas

tree append

2005-07-08 Thread srinivas
). so with the above thing, treeview has to be created once and append to be done. how to get it. developing using glade, c. any examples. thanks; srinivas. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

tree append from entry

2005-07-07 Thread srinivas
= gtk_tree_view_column_new_with_attributes (_(File), cell, text, 0, COL_TEXT); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), GTK_TREE_VIEW_COLUMN(file_column)); return treeview; } what am i doing wrong; ThanksRegards; Srinivas

gtktree

2005-07-07 Thread srinivas
hi; i creeated with glade like, window with button_simp_list_get_ent, and treeview_ent_widget, when i press button_simp_list_get_ent, another window with entry_simp_list_entry, and button_simp_entry, will pop up. now when i enter data and press button_simp_entry, the entered text has to

re:gtk_button

2005-06-27 Thread srinivas
hi; i have a gtk_entry with incrementing count value. i have a gtk_button, now when i pressed the button the count in gtk_entry has to be stopped. how can i proceed for it. thanks; srinivas. ___ gtk-app-devel-list mailing list gtk-app-devel

gtk_toggle signal

2005-06-24 Thread srinivas
(GTK_TOGGLE_BUTTON (togglebutton_oam), TRUE); } else { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (togglebutton_oam), FALSE); } what's wrong with my code. what i have to modify. thanksregards; srinivas

tree_view

2005-06-24 Thread srinivas
hi ; i have a pbm in populating the tree_view, i want to populate tree_view using file path got from gtk_file_selection_get_filename(fs), how could i populate tree_view. how to insert file selection path to the tree_view widget. Thanksregards; srinivas

gtk_treeview

2005-06-23 Thread srinivas
= gtk_tree_view_column_new_with_attributes (Filedescription, renderer, text, COLUMN_FILEDESC, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column); i am not sure at how to pass file_name val to the tree_view. any suggestions. thanksregards; srinivas. ___ gtk

gtk_entry

2005-06-22 Thread srinivas
. how to get that; thanksregards; srinivas ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk_clist_append

2005-06-22 Thread srinivas
*)gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs)); g_print (%s\n, data[j]); data_app = (gchar *)data[j]; gtk_clist_append (GTK_CLIST (clist_sel),(gchar *) data_app); clist_sel is the list widget reference using lookup widget. thanksregards; srinivas

gtk_entry display val

2005-06-21 Thread srinivas
hi ; i want to display int values in gtk_entry widget; gchar data=(gchar *)malloc(sizeof(gchar)*MAX_SIZE); for (int_num =0; int_num data; int_num++) { sprintf (data, %d, int_num); gtk_entry_set_text (GTK_ENTRY (win_entry),(gchar *) int_num );

Re: gtk_entry display val

2005-06-21 Thread srinivas
hi all; according to your suggestion i can use spinbutton, but can i display the spinbutton with out arrows. thanks for reply; srinivas. On Tue, 2005-06-21 at 19:21, srinivas wrote: hi ; i want to display int values in gtk_entry widget; gchar data=(gchar *)malloc(sizeof(gchar

gtk row append

2005-06-16 Thread srinivas
hi; i have some problem with gtk_clist_append, i can't able to append to clist. i have a application like, fs is the file selection widget object. i am getting the name of file selected as gchar *data; data[j] = (gchar *)gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs)); now i

gtk_clist

2005-06-15 Thread srinivas
hi ; i have pbm in gtk_clist, i can able to insert in to the list. but the inserted text is appearing only after when i show the window using gtk_widget_show(widget), but i want it as, the inserted text has to display at that time. not after gtk_widget_show. is there any refresh

combo entry

2005-06-08 Thread srinivas
hi; how to set a default entry in to the combobox. i am developing with glade. am i supposed to set a signal for the combo box or how to do that. thanks; vasu. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

get sys date

2005-06-02 Thread srinivas
hi; developing gui with glade, c. i want to know the api or functionality to how to get system date and time, and how to display it to the particular widget. thanks; vasu. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

gtk toggle button

2005-06-02 Thread srinivas
hi ; i have two frames created using glade, c. i have a toggle button in one frame, and a radio button in another frame. now i want to toggle the button and change label on it when i selected/ toggled radio button. any examples; thanks; vasu.

gtk entry

2005-06-01 Thread srinivas
hi; i am developing gui with glade, C. i have some pbm in passing signal from one callback signal to another callback. i have a text_entry_activate callback, in which i am checking text entered or not. if not warning msg will pop up. i am getting this functionality. now i have

gtk clist append

2005-05-30 Thread srinivas
hi; i have a pbm, using fileslection widget i am selecting the file and i would like to append the same to the clist_widget. create_window_new2 is the window name, clist_sst_file_sel is the name of the clist. sst_file_sel = create_window_new2 (); clist_file_sel = lookup_widget

gtk_text_entry

2005-05-27 Thread srinivas
hi all; i am developing application with glade and c. i have a text_entry widget, and a button widget in different layouts. when i enter the text, and gave enter the text entered is printed to the console according to the pgm i given. now i would like to get the same with button

gtk clist

2005-05-27 Thread srinivas
hi; using folder selection widget i am selecting and displaying the selected files. now i want to append the clist with the selected files from folder selection widget. how can i append/ insert the selected files to the clist. thanks; vasu.

Re: signal passing

2005-05-25 Thread srinivas
hi ; thanks for reply; from on_text_entry_activate i can call the out put handler, but from on_button_next how to call output handler. i am not getting how to get the entry object from interface.c to callbacks.c. in on_text_entry_activate, due to activate signal handler i can able to

re: signal passing

2005-05-23 Thread srinivas
hi; i have gtk_text_entry widget, i had an callback to the text_entry widget on_entry_activate and i can able to get the text when enter pressed. now i would like to have same functionality with next button. i had created on_button_next_clicked callback. these two are in

Re: gtk text entry

2005-05-18 Thread srinivas
thanks a lot for the mail and link, i tried with my application, now i have one more doubt, i have my main window window_ssnew, and my gtk entry text entry_name, and next button. entry_name and next button are on different frames on window_ssnew. as i am using glade i used like,

file selection

2005-05-12 Thread srinivas
hi; i used filew = gtk_file_selection_new (Folder Selection); gtk_file_selection_set_filename (GTK_FILE_SELECTION (filew), ***.png); gtk_file_selection_get_filename (GTK_FILE_SELECTION (filew)); gtk_widget_show(filew); to select and display file/folder list, i can able to display widget, but i

gtk file selection

2005-05-12 Thread srinivas
hi; can i directly use the gtk_file_selection API for selection, deletion, rename and creating folders or by using the API only the widget visible and i have to give functionality to each button. i directly used the file selection API, the widget is visible but the button's are not working

gtk path selection

2005-05-11 Thread srinivas
hi how to get the path of file and display it in list view widget, when selected using file chooser widget. when file chooser widget button pressed file chooser menu will open, and i want to display the selected file path in to the list view widget up on pressing ok button on file chooser

gtk folder path

2005-05-10 Thread srinivas
hi all; i have an application in which when i selected the particular file or folder the file/folder path has to be displayed in the list widget. the number of file/folders i selected, the path of those files to be displayed in separate rows. how can i get this functionality, any samples.

treeview

2005-04-29 Thread srinivas
i compiled my pgm using - gcc -Wall -g filename.c -o filename $CFLAGS `gtk-config --cflags` `gtk-config --libs`. i got the error like this, error: `GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER' undeclared (first use in this function) error: `GTK_STOCK_CANCEL' undeclared (first use in this

Re: treeview

2005-04-29 Thread srinivas
`pkg-config gtk+-2.0 --cflags` `pkg-config gtk+-2.0 --libs` Thanks Deekshit M --- srinivas [EMAIL PROTECTED] wrote: i compiled my pgm using - gcc -Wall -g filename.c -o filename $CFLAGS `gtk-config --cflags` `gtk-config --libs`. i got the error like this, error

set sensitive to box widget

2005-04-29 Thread srinivas
hi; i have a toggled button. when i toggled the button i want vbox_widget to be deactivated and again on toggling the button i want the box widget to be activated.how can i get this functionality. any samples; thanks; vas. ___ gtk-app-devel-list

dispaly folder path

2005-04-28 Thread srinivas
how to display the path of the selected folder in list view widget, what functionality needed to implement this.any samples. bye; vas ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

re:deactivate buttons

2005-04-27 Thread srinivas
hi ; i need samples for deactivating buttons. initially the buttons have to be deactivated, only when the activate button pressed the deactivated buttons have to activate. how can i can do this using gtk. any samples available for this. thanks; vasu.

re:deactivate buttons

2005-04-27 Thread srinivas
hi ; i need samples for deactivating buttons. initially the buttons have to be deactivated, only when the activate button pressed the deactivated buttons have to activate. how can i can do this using gtk and c, i am not using any scripting. any samples available for this. thanks; vasu.

gtk folder selection

2005-04-07 Thread srinivas
hi to all; i am very new to this. i am developing gui with gtk. now i created a list view and a file selector, the file what ever i am selecting i want to display it to the listview. how can i do this. and i want to display the root file system in tree view with checkboxes. so that i can check

About Hiding Widget

2004-08-29 Thread srinivas
requires dynamic hide and show of window , like the window should show only when the phone is offhook.. Thanks in advance. Srinivas Kandagatla Embedded Linux Engineer. Puretek Inc. Taiwan. ___ gtk-list mailing list [EMAIL PROTECTED] http

Re: Transparent Borderless Window

2004-08-17 Thread srinivas
Hai Richard You can use gdk_window_set_decorations(window-window, 0), or gtk_widget_shape_combine_mask(window, mask, 0,0). first one will remove the border from the window. second one will mask oout everything excep for them image itself. For good example see the wheelbarrow.c example, I think it

Re: cant run gtk programs when on root

2004-08-16 Thread srinivas
Hello Hylke Donker, Did you try to pass the display parameter to the program. I too faced this kinda problem , but when i added a display parameter to the program it works fine. Just run your program like this ./a.out --display=127.0.0.1:0.0 Regards Cnu

how to put image as background of window

2004-06-18 Thread srinivas
Hai all , iam very new to gtk. actually i want to paint (not exactly paint but lay another image) part of the image at runtime. like a constant background with changing images at fixed position. i need all of your guidance, presently iam using gtk1.2 and iam restricted to use it. you guidance

selecting rectangle region as in gimp

2003-09-25 Thread yugandhar srinivas
, but I would like to have something like in gimp (dragging such that entire dragged area is blackened out and also I could get all the blackened coordinates). Which functions could I use? Is there some plugin or sample code that I could use? Thanks in advance for any help. Srinivas