Hello
Can anyone provide me a simple sample code on how to load images using
GdkPixmap
bcos I find the reference on the GdkPixmaps very hard to follow
Thanks
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
I'm new to gtk and I seem to have a problem using this
dialog:
window = gtk_file_chooser_dialog_new ( .. );
gtk_dialog_run ( .. );
filename = gtk_file_chooser_get_filename ( .. );
gtk_widget_destroy ( window );
When the user selects a file you get these on stderr:
failed to read() from server
I need to know what I have to do to find the widget that has the focus.
Hi
Giovanni
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Thu, 2005-05-05 at 21:06 -0400, Allin Cottrell wrote:
The freedesktop.org URL is spurious (flakiness of wiki?), but that's
a minor issue. The more substantial issue is that I don't feel that
my gtk app should depend on the installation of gnome themes.
Yes, linking to stuff on
hi,
i used the gdk_pixbuf_save() function to store a
pixbuf to file.before that i converted pixmap to
pixbuf.
but after using gdk_pixbuf_save also the image is not
loading to file.
so help me to solve this problem.
thanking you.
m.harshavardhan reddy
Hi all,
This is probably a stupid question, but how do I get the exact size of a
GtkWidget (in pixels)?
In all the documentation, I can find only functions for retrieving the
requested size or the default size, all of which have warnings of not
being necessary correct
Thanks
--
Daniel
On Fri, 2005-05-06 at 16:14 +0200, Daniel Pekelharing wrote:
Hi all,
This is probably a stupid question, but how do I get the exact size of a
GtkWidget (in pixels)?
Maybe gdk_drawable_get_size () can work.
In all the documentation, I can find only functions for retrieving the
requested
Hi all, I'm updating my app code that used to use a GtkCtree
implementation... So, how I said, I'm updating it and GtkCtree is
deprecated. The solution finded was use GtkTreeView, GtkTreeModel,
GtkTreeStore and GtkTreeSignal to do almost everything we used to do
with GtkCTree...
After a great
hi,
i used the gdk_pixbuf_save() function to store a
pixbuf to file.before that i converted pixmap to
pixbuf.
but after using gdk_pixbuf_save also the image is not
loading to file.
so help me to solve this problem.
thanking you.
m.harshavardhan reddy
someone some days ago sent this link aiming to explain details about
On 5/6/05, isil light [EMAIL PROTECTED] wrote:
Hello - yes another newbie question ( sorry )
1) create some widgets
2) gtk_notebook_append_page
3) gtk_notebook_set_current_page
4) user closes tab
5)
Hi
someone some days ago sent this link aiming to explain details about mapping ...
it's very helpfull .. take a look at the widget cycle life section .
it explains your question in details
http://developer.gnome.org/doc/GGAD/z57.html
regards
On 5/6/05, isil light [EMAIL PROTECTED] wrote:
Daniel Pekelharing wrote:
Hi all,
This is probably a stupid question, but how do I get the exact size of a
GtkWidget (in pixels)?
Hello
Use allocation field of GtkWidget structure.
Olexiy
___
gtk-app-devel-list mailing list
hi,
i used the gdk_pixbuf_save() function to store a
pixbuf to file.before that i converted pixmap to
pixbuf.
but after using gdk_pixbuf_save also the image is not
loading to file.i am using gdk programming on linux federoracore 3.
so help me to solve this problem.
thanking you.
m.harshavardhan
See this. http://catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
harshavardhanreddy mandeepala
Sent: Friday, May 06, 2005 9:42 AM
To: gtk-app-devel-list@gnome.org
Subject: file saving problem from pixmap.
hi,
i
You can use GdkPixbuf with function gdk_pixbuf_new_from_file().
On Fri, 6 May 2005, Vishnu Kumar wrote:
Hello
Can anyone provide me a simple sample code on how to load images using
GdkPixmap
bcos I find the reference on the GdkPixmaps very hard to follow
Thanks
Giovanni Manenti wrote:
I need to know what I have to do to find the widget that has the focus.
Use
gtk_window_get_focus (your_top_level_window);
This will give you the focused widget in that window.
Paul
___
gtk-app-devel-list mailing list
Have you considered trying gtk_file_selection_new() instead?
--- [EMAIL PROTECTED] wrote:
--
Message: 7
Date: Fri, 6 May 2005 08:48:26 -0400 (EDT)
From: isil light [EMAIL PROTECTED]
Subject: gtk_file_chooser_dialog_new
To: gtk-app-devel-list@gnome.org
On Fri, 2005-05-06 at 17:27 +0300, Olexiy Avramchenko wrote:
Hello
Use allocation field of GtkWidget structure.
Olexiy
Thanks - this works fine!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Hi all,
In my app I use a colour selection dialog to pick a colour.
I'd like the button that you have to press to pop up the dialog
to show the current colour.
Is there any easy way of setting the colour of a button?
Thanks
--
Daniel Pekelharing
___
On Fri, 2005-05-06 at 19:21 +0200, Daniel Pekelharing wrote:
Hi all,
In my app I use a colour selection dialog to pick a colour.
I'd like the button that you have to press to pop up the dialog
to show the current colour.
Is there any easy way of setting the colour of a button?
Thanks
On Fri, 2005-05-06 at 13:28 -0400, Matthias Clasen wrote:
In GTK+ 2.6, you can use GtkColorButton.
Cool! Thanks! I checked it out GtkColorButton is perfect!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
hi
Could you be a little more specific. It would be
helpfull if you could send a snippet of your code.
Thank You
Abhishek Samuel
--- harshavardhanreddy mandeepala
[EMAIL PROTECTED] wrote:
hi,
i used the gdk_pixbuf_save() function to store a
pixbuf to file.before that i converted pixmap to
22 matches
Mail list logo