Problem related to treeview

2007-03-15 Thread sumit kumar
 Hi all,
i have problem related to treeview.
I am showing list of member in window using treeview. Now I want to select
one out of this list and after selecting that member a window should be
created with that member name.How i can do that?
what API i should use to connect callback to the liststore enries?? I
storing member names using liststore.

regards,
sumit
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


selecting data from treeview

2007-03-15 Thread sumit kumar
Hi all,
i have problem related to treeview.
I am showing list of member in window using treeview. Now I want to select
one out of this list.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Questions about treeview

2007-03-15 Thread Magiclouds Magicloud
Dear all,
  Could the text in a treeview be selected? So I can copy it or something.

Thanks.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Could I use svg as window icon?

2007-03-15 Thread Magiclouds Magicloud
Dear all,
  I load a svg (100x100 px) as pixbuf,then set it as a window's icon,
but it seems not work

Thanks.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GTK calender issue ?

2007-03-15 Thread rush ta
hello..
I have developed an application for a handheld device touchscreen device !!
I am using a GTK calender widget in it !!

But one problem that i face is that the buttons to navigate the year &
months are too small..
Can i change the size of it !! Is there a way to customize the GTK calender
widget code ?
How can i do it ?

Please help me out ! I am very new to this !!

Regards
Rush
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: How do I get the GTK+ exec. file to Install?

2007-03-15 Thread Michael L Torrie
On Thu, 2007-03-15 at 19:15 +, Kayode Arowolo wrote:
> Dear Michael,
> Dear Michael,
>  
> Thanks for your response and concern. I need to develop the GUI for my
> project written in C. I want to install gtk on my laptop which runs on
> windows platform. Any suggestions will be appreciated.

Let's keep these e-mails on the list, please.

If you are using a tool like Dev-C++[1], there are pre-build packages
for that IDE that are quite nice.  See
http://www.bloodshed.net/dev/packages/gtk.html .

For use with Visual Studio, you just need to unpack the binary tarballs
somewhere (say to a folder called c:\GTK) and then in your project you
have to add all the libraries and add the include folder to your
includes path.  You can get these canonical binary tarballs from  
http://www.gimp.org/~tml/gimp/win32/downloads.html . There are also some
basic instructions on using them.  You will need to download all of the
dependencies on this page.  GTK depends on a lot of utility libraries
that don't ship with Visual Studio or windows.

When it comes time to deploy your application, you will need to make
sure that either your end users have the GTK runtime installed (there
are a number of installers out there to ease this for users; see
http://gaim.sf.net/win32) or you can bundle the GTK dlls in the
appropriate folder structure in the folder where you app installs.  GTK
cannot and should not be statically linked.

Michael




> Thanks.
>  
> Kayode
> 
> Michael L Torrie <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-03-15 at 05:09 +, Kayode Arowolo wrote:
> > Dear gtk-app-devel-list,
> > 
> > I have been trying to download the GTK+ exec files from
> www.gtk.org (ftp) so that I can install on my system but all
> to no avail. Please help out with suggestions on what to do.
> 
> I do not understand. What are you trying to do? Are you trying
> to
> install pre-compiled GTK libraries on your operating system?
> If so,
> what operating system are you using? Are you trying to compile
> GTK from
> source? You will need to provide more information and ask a
> specific
> question.
> 
> > 
> > Thanks.
> > Kayode Arowolo
> > Computer Science Dept.
> > University of the Witwatersrand
> > Johannesburg. 
> > 
> > 
> > 
> > -
> > New Yahoo! Mail is the ultimate force in competitive
> emailing. Find out more at the Yahoo! Mail Championships.
> Plus: play games and win prizes.
> > ___
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> > 
> 
> 
> 
> 
> 
> __
> New Yahoo! Mail is the ultimate force in competitive emailing. Find
> out more at the Yahoo! Mail Championships. Plus: play games and win
> prizes.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Dialog closing prematurely with response code of 0

2007-03-15 Thread Kevin Lambert
I have a GtkDialog(first) which has a button on it that launches another
GtkDialog (second).  If I press either the Ok or the Cancel button on the
second Dialog it causes both dialogs to close with the gtk_dialog_run for
the first dialog returning back a code of 0 (which shouldn't be possible).
The button that I pressed on the first dialog does not have code to close
the dialog.


Load Button on Dialog 1 Pressed -> Launches Dialog 2
Ok Button on Dialog 2 Pressed -> Both Dialog 1 and Dialog 2 close.

Why is the fisrt dialog closing when the second dialog is closed?


Thanks,

Kevin

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Radio button

2007-03-15 Thread Cédric Lucantis
> My application has a number of radio buttons stored in a horizontal button
> box.
>
> The radio buttons were created with gtk_radio_button_new_with_label and
> gtk_radio_button_new_with_label_from_widget.
>
> Each button and its label is left-justified (aligned?) within its
> allocation rectangle.
>
> I want the button and the label to be centered in the allocation rectangle.
>
> The machines on which my application will be deployed are running Gtk
> version 2.0.
>
> Thanks in advance for any help.

You need a GtkAlignment widget, documented in the manual.

-- 
Cédric Lucantis
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: How do I get the GTK+ exec. file to Install?

2007-03-15 Thread Michael L Torrie
On Thu, 2007-03-15 at 05:09 +, Kayode Arowolo wrote:
> Dear gtk-app-devel-list,
> 
> I have been trying to download the GTK+ exec files from www.gtk.org (ftp) so 
> that I can install on my system but all to no avail. Please help out with 
> suggestions on what to do.

I do not understand.  What are you trying to do?  Are you trying to
install pre-compiled GTK libraries on your operating system?  If so,
what operating system are you using?  Are you trying to compile GTK from
source?  You will need to provide more information and ask a specific
question.

> 
> Thanks.
> Kayode Arowolo
>   Computer Science Dept.
> University of the Witwatersrand
> Johannesburg. 
> 
> 
>   
> -
>  New Yahoo! Mail is the ultimate force in competitive emailing. Find out more 
> at the Yahoo! Mail Championships. Plus: play games and win prizes.
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Problems with STOCK ICONS

2007-03-15 Thread Kevin DeKorte
Hi,

I'm using this snippet

icon_theme = gtk_icon_theme_get_default ();

play_icon = gtk_icon_theme_load_icon (icon_theme, GTK_STOCK_MEDIA_PLAY, 
16, 0, &error);
if (error != NULL) {
printf("error %s\n",error->message);
g_error_free(error);
error = NULL;
}

And from the console I'm getting this error

error Icon 'gtk-media-play' not present in theme

The icon theme I'm using is ClearLooks and the icon I seem to want exists in

/usr/share/icons/gnome/16x16/actions

as stock_media-play.png

So what is the proper way to deal with this?

Thanks,

Kevin

-- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list