> "Tomasz" == Tomasz Wegrzanowski <[EMAIL PROTECTED]> writes:
HI Tomasz,
I had exactly the same problem as you have. In my case, upgrading to
pkg-config version 0.5.0 (available at gtk+ ftp site), solved the
problem. BTW, this is what pkgconfig returns on my system:
[lsetia@milkyway]$ ex
On 21 Apr 2001, Havoc Pennington wrote:
>
> Hi,
>
> Drawing to a layout you have to draw to layout->bin_window and offset
> by layout->xoffset and layout->yoffset.
You mean that I should offset the drawing coordinates like this:
gdk_draw_line(GTK_LAYOUT(widget)->bin_window, widget->style->bl
Ignacio Nodal <[EMAIL PROTECTED]> writes:
> Is this function the correct one to change the background color of my
> widgets?
>
> void gtk_widget_set_style(GtkWidget *widget,GtkStyle *style);
>
> I mean... modifying the "GdkColor bg[5]" field in the GtkStyle
> structure..
>
No, should use the
Tomasz Wegrzanowski <[EMAIL PROTECTED]> writes:
> I have stable glib and gtk on my system in /usr.
> It's Debian GNU/Linux 2.3 woody i386.
>
> I downloaded glib and gtk+ from cvs.
> I compiled and installed glib to /home/taw/local/.
> I set ACLOCAL_FLAGS to '-I /home/taw/local/share/aclocal/'.
>
I have stable glib and gtk on my system in /usr.
It's Debian GNU/Linux 2.3 woody i386.
I downloaded glib and gtk+ from cvs.
I compiled and installed glib to /home/taw/local/.
I set ACLOCAL_FLAGS to '-I /home/taw/local/share/aclocal/'.
Now I can't ./configure gtk, as it can only see old glib.
I t
Is this function the correct one to change the background color of my
widgets?
void gtk_widget_set_style(GtkWidget *widget,GtkStyle *style);
I mean... modifying the "GdkColor bg[5]" field in the GtkStyle
structure..
Thanks in advance
Ignacio Nodal
_
Hello!
I've got a problem. If you clutch the scrollbar and move
continually, after a few (about 10) seconds you get the
following message:
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width X and height 1
where X is a number that is bigger than 32000 and g
Tomas Berndtsson <[EMAIL PROTECTED]> writes:
>
> I couldn't find any description of the default GC's available in the
> GtkStyle struct in the documentation. The ones I'm thinking of are:
>
> GdkGC *fg_gc[5];
> GdkGC *bg_gc[5];
> GdkGC *light_gc[5];
> GdkGC *dark_gc[5];
> GdkGC *mid_g
manbinder pal wrote:
> 1) if we have no of .C files for the application ,including some .h files ,
> how do we
> compile and run the application in this case.
Take a look at the tutorial:
http://www.gtk.org/tutorial/sec-compiling.html
> 2) the package required for this GTK+ is gtk and g
Tim Burgess wrote:
> I sat down this morning and started on my first GTK app. I've got to this
> point and I'm stumped as to why the 'bar' pixmap doesn't appear over the
> 'base' pixmap...I suspect it's something to do with style but why it may
> be is beyond me...
Hi Tim, you should do all your
Tobias Hintze wrote:
>
> On Sun, Apr 22, 2001 at 02:34:45PM +0200, Tobias Hintze wrote:
> > >
> > > You need to set the clip mask in the graphics context used for the
> > > draw using gdk_gc_set_clip_mask and gdk_gc_set_clip_origin.
> >
> > yes. this one just works too.
>
> just one question lef
Tobias Hintze wrote:
>
> On Sun, Apr 22, 2001 at 02:35:19AM +0200, Tobias Hintze wrote:
> > On Wed, Apr 18, 2001 at 03:02:37PM +0100, John Cupitt wrote:
> > >
> > >
> > > fixed = gtk_fixed_new();
> > > gtk_box_pack_start( GTK_BOX( hb ), fixed, FALSE, FALSE, 2 );
> > > gtk_
Hi,
I couldn't find any description of the default GC's available in the
GtkStyle struct in the documentation. The ones I'm thinking of are:
GdkGC *fg_gc[5];
GdkGC *bg_gc[5];
GdkGC *light_gc[5];
GdkGC *dark_gc[5];
GdkGC *mid_gc[5];
GdkGC *text_gc[5];
GdkGC *base_gc[5];
GdkGC *bla
13 matches
Mail list logo