Libgtkmdi

2005-07-12 Thread lmarcilly
Hi, i've sent an email few days ago for libgtkmdi... I've contacted the maintainer because links to download the library are down and here is the new link : http://www.datelcom.it/patrizio/gtkmdi.html Regards, lm. ___ gtk-app-devel-list mailing list

Re: randomly accessing "man pages" of gtk doc.

2005-07-12 Thread Allin Cottrell
On Mon, 11 Jul 2005, David Morse wrote: Are there no man pages for gtk &c functions? I see the web-based doc, but I find myself hopping around from gtk to gdk to glib to pango to gnome, and never having the right index loaded. No man pages are supplied by default, but if you are building gtk

Re: width of string rendered by pango font?

2005-07-12 Thread Allin Cottrell
On Mon, 11 Jul 2005, David Morse wrote: How does one figure out the width of a certain string in a certain pango font? (Other than abandoning pango fonts and reverting to gdkfonts, of course. ; ) It's a bit of a contortion. gint get_string_width (const gchar *str) { gint width; GtkWi

Why we can't draw a bitmap?

2005-07-12 Thread Dong JunYu
I have a project to want to display a 320*240 mono bitmap in a GtkDrawArea or GtkImage widget, bitmap data was generate by program in a array: "char bitmap_data[9600];" I know bitmap is a 1 bit depth pixmap, and GtkImage or GtkDrawArea is 24 bits depth, not match, My program source code as fellow

g_free results of

2005-07-12 Thread David Morse
Should a PangoFontDescription created by pango_font_description_from_string be g_free'd after I use it to create a font? The doc is below the horizontal line below. Also, is there an easy way to create a PangoFontDescription from a string that looks like: "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*

Re: Disabling Button/Window focus

2005-07-12 Thread Olexiy Avramchenko
Michal Porzuczek wrote: I was wondering if it is possible to temporary disable focus on buttons so they don't work and they do not light up when the mouse hovers over them. gtk_widget_set_sensitive() is the common way. Is it also possible to disable the movement and resizeablilty of a window

Disabling Button/Window focus

2005-07-12 Thread Michal Porzuczek
Hi, I was wondering if it is possible to temporary disable focus on buttons so they don't work and they do not light up when the mouse hovers over them. Is it also possible to disable the movement and resizeablilty of a window temporariliy. Furthermore, is it possible to set where we want a win

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

Re: window and children resizable

2005-07-12 Thread Chris Vine
On Tuesday 12 July 2005 10:55, Luca Cappa wrote: > Chris Vine wrote: [snip] > >Passing a GtkAttachOptions value of (GTK_EXPAND | GTK_FILL) will do this > > for you. > > I tryed it, and it seems to not be true. Indeed, if the window is at the > minimu size (i.e. at the sum of all > the request siz

Re: tree expand

2005-07-12 Thread The Saltydog
You can find a nice tutorial here: http://scentric.net/tutorial/treeview-tutorial.html ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: window and children resizable

2005-07-12 Thread Luca Cappa
Chris Vine wrote: On Monday 11 July 2005 09:09, Luca Cappa wrote: Chris Vine wrote: [snip] It is a bit difficult to penetrate your question. If you don't want the contained widgets to have a minimum size then don't set the widgets to have a minimum size. Chris For examp

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 gtk-app-devel-list@gnom

parsing HTML

2005-07-12 Thread The Saltydog
What I am really missing from Perl is the libwww library to create user-agents, parse HTML code, etc... Is there such a tool available also for gtk+/glib, or maybe I should switch to mono/gtk#?? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnom

Re: randomly accessing "man pages" of gtk doc.

2005-07-12 Thread David Necas (Yeti)
On Mon, Jul 11, 2005 at 11:22:04PM -0400, David Morse wrote: > Are there no man pages for gtk &c functions? I see the web-based doc, > but I find myself hopping around from gtk to gdk to glib to pango to > gnome, and never having the right index loaded. Devhelp has search capability. But I neede

Re: width of string rendered by pango font?

2005-07-12 Thread David Necas (Yeti)
On Mon, Jul 11, 2005 at 11:20:37PM -0400, David Morse wrote: > How does one figure out the width of a certain string in a certain pango font? Create a PangoLayout, set the font and text, and then you can use pango_layout_get_extents() or pango_layout_get_pixel_extents() to get the dimensions. Yet

Re: g_param_spec_ ??

2005-07-12 Thread uzytkownik22
> Hi all, > > I'm buy the gnome developers guide and one of chapter talks about > gobject and oo, and have many functions to create a gparamspec > struture like g_param_spec_uint (to guint), but i have no idea what's > the g_param_spec_* that i need to GString type, > can anyone help-me ? > > tk