Edscott Wilson García [EMAIL PROTECTED] writes:
I've been trying to copy a bitmap into a bitmap with gdk_draw_pixmap(),
without success. Is it necesary to use XCopyPlane in lieu of some
gdk routine?
When you say without success, what happens? It should work fine.
Basically all I want to
Edscott Wilson García [EMAIL PROTECTED] writes:
After looking at a book by Barkakati, (X Window System Programming, 1991) he
says that bitmaps should be copied into pixmaps by XCopyPlane(), not
XCopyArea() (the latter being used by gdk_draw_pixmap()).
That's right, but I thought you were
Edscott Wilson García [EMAIL PROTECTED] writes:
But isn't a bitmap nothing more than a pixmap of depth 1? If
gdk_pixmap_new(window,pix_w,pix_h,1);
is not the correct way to create an empty bitmap with gtk, how should it be
created?
That is the right way. One of us is missing some detail.
Paul Davis [EMAIL PROTECTED] writes:
http://pobox.com/~hp/gtk-colors.html
and Havoc - can we get a link to this document added to the GTK+ FAQ?
it and the threads questions are the 2 most common queries here, and
being able to just tell people to look at the FAQ would be good.
Yeah,
Jason Tackaberry [EMAIL PROTECTED] writes:
I see a pango_x_render, which lets you render to an X drawable, but I
don't see any gdk equivalent. I suppose I could fetch the X drawable
from gdk but it seems to me the _right_ way to do this shouldn't be that
convoluted. I'm convinced I'm
Edscott Wilson García [EMAIL PROTECTED] writes:
gc = gdk_gc_new (h-window);
Try using one of the bitmaps here instead of the window, the bad match
may be a GC/drawable issue rather than src/dest drawable.
Havoc
___
gtk-list mailing list
[EMAIL
Hi,
Configure event means the drawing area got a new size. This always
happens at least once when the drawing area first comes onscreen.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Jason Tackaberry [EMAIL PROTECTED] writes:
I am calling set_width on a Pango layout in order to force wrapping
within a specific boundary. What I want, however, is something of a
combination of PANGO_WRAP_WORD and PANGO_WRAP_CHAR. That is, wrap by
word if you can, but if a word boundary
Dino Cherian K [EMAIL PROTECTED] writes:
How can I make a button click when I press Enter from another widget in
the dialog.
If the other widget is a GtkEntry, the usual way is to connect
gtk_window_activate_default() to the activate signal on the entry:
gtk_signal_connect_object
Jamie Guinan [EMAIL PROTECTED] writes:
It looks like XMoveResizeWindow actually clears the window contents.
Of course, I would like it to leave the window contents as-is, and just
redraw the RGB data over top of whatever was there.
To leave the contents as-is one approach is to call
mails to the Eclipse project:
From: Havoc Pennington [EMAIL PROTECTED]
Subject: Re: [platform-swt-dev] GTK in CVS
To: [EMAIL PROTECTED]
Date: 05 Dec 2001 16:23:25 -0500
[EMAIL PROTECTED] writes:
- positioning widgets such that they do not move when the parent is
resized (we are using a fixed
Hi,
Read http://pobox.com/~hp/gtk-colors.html
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Boszormenyi Zoltan [EMAIL PROTECTED] writes:
I tried gtk-demo from the RedHat rawhide's gtk2-1.3.12.90.
I found it quite nice and stable for most things.
However, the Editable Cells demo crashes when I do the
following: select one of the cells is the last row and
press the remove item
Jason Tackaberry [EMAIL PROTECTED] writes:
If this is a genuine bug, please let me know and I will file it in
bugzilla. If something does need to be freed, the API documentation
should be updated. :)
I just fixed it in CVS, thanks for the nice test case. (Simple
compilable test case
Richard Stallman [EMAIL PROTECTED] writes:
It might be important to explain this more explicitly in the
documentation. If there are already solutions to some of the
problems Jan encountered, I think they should be documented too.
Can you do that?
Sure, I do my best to work on GTK
Luis Velez [EMAIL PROTECTED] writes:
I am trying to use gdk_pixbuf_save function but this function uses a
GError as a parameter. So I create the GError and use the
g_error_new_literal function to give it a domain, code and etc... The
problem is that even including the glib.h GError gives me
Andreas Scherf [EMAIL PROTECTED] writes:
Hello, i am porting my little app to Gtk2
and i have the problem the the gettext Strings such as (_(xyz)
On some String it shows me:
Gtk-WARNING **: Invalid input string
and some are just empty.
On normal String i got the message :
Invalid UTF8
Jason Tackaberry [EMAIL PROTECTED] writes:
However, after repeating the procedure I used to cause the above
problem, I got this message on the terminal:
Xlib: unexpected async reply (sequence 0x3a1ae)!
And the process started to eat all available CPU.
You're using threads?
Now I
Jason Tackaberry [EMAIL PROTECTED] writes:
On Thu, 2002-01-24 at 01:26, Havoc Pennington wrote:
You're using threads?
No. I am forking, though. But I was able to reproduce the problem even
with the code that forks commented out.
I do sometimes (typically right before a crash) see
Jason Tackaberry [EMAIL PROTECTED] writes:
Anyway, I believe the problem is a race condition with the fork -- or
more specifically, the handler for SIG_CHLD. I'm doing gtk+ things
inside the handler, which of course can interrupt other gtk functions
and, I presume, cause some internal
Chris Seberino [EMAIL PROTECTED] writes:
Anyone know if this wrapper exists??? Havoc mentioned
g_spawn_*. My knowledge of that is scarce and the
docs on this even scarcer.
There are plenty of docs on it:
http://developer.gnome.org/doc/API/2.0/glib/glib-spawning-processes.html
Havoc
Andreas Scherf [EMAIL PROTECTED] writes:
And i changed the po files with KBabel (sorry for that)
but nothing happened (some lines are invisible) im unsing the german
charakters öä,ü in those lines and the aren`t shown up in the running
program what could i do here ? How does a UTF8 charcter
Paul Davis [EMAIL PROTECTED] writes:
why would i want to? imagine the user takes some steps to invoke
a quit function. if there are nested main loops (e.g to run a
dialog), gtk_main_quit() won't work as a way to return control to
whatever called gtk_main_run() at the top level.
People
Hi,
If you guys are using GtkTextView just set the tab stops with
gtk_text_view_set_tabs() or whatever, or use the defaults.
If it doesn't work right with proportional fonts it's just some sort
of bug, file it on http://bugzilla.gnome.org.
If you're using GtkText, you're not going to get it
Paul Davis [EMAIL PROTECTED] writes:
g_main_quit_all ();
which would apply g_main_quit() to all current main loops.
it seems like a rather serious design defect,
I think you are just writing your code in a way no one else writes
their code. ;-) Main loops are supposed to be
Luis Velez [EMAIL PROTECTED] writes:
In the reference manual it says that the only thing one must include in
order to use GError is glib.h but I include glib.h and all the other
libraries from the 'glib-config --cflags -- libs' but the GError data
type is not recognized by the compiler. Must
Paul Davis [EMAIL PROTECTED] writes:
so yes, perhaps its a small
set of programs, but we're doing it the right way, and the rest of you
are just being lazy :)
With no apparent negative impact. ;-)
given that the point is to return to the point where GTK/glib is not
running anymore, it
Philip Bunce [EMAIL PROTECTED] writes:
Perhaps I am using the wrong version. But can't find anything about a widget called
GtkTextView in my
documentation. I am using 1.2.10 gtk+ and glib.
Yes, GtkTextView is only in 1.3.x/2.0.
Havoc
___
Hi,
You probably need to select GDK_RELEASE_MASK with
gtk_widget_add_events().
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
[EMAIL PROTECTED] writes:
Can anyone explain me what is a
floating reference count (I saw this
on GTK2.0 GtkObject API Reference)?
What is the difference between this
and normal reference count (if any)?
If you read the top of the page on GtkObject it explains this a bit.
The special
Jan Vittrup Hansen [EMAIL PROTECTED] writes:
I am looking for a basic queue implementation for use in C project.
Along the way I stumbled across GLib, and the datatype GQueue.
However, it seems present only in GLib2, which I cannot find in active
use anywhere. Is this currently under
Vahid Zahiri [EMAIL PROTECTED] writes:
What can i use instead of XtWindow function in gtk?
I need get window ID (integer number).
how can i get it in Gtk?
#include gdk/gdkx.h and use GDK_WINDOW_XID (gdk_window).
For widgets widget-window is the GdkWindow. You need the
widget to be
Chris Seberino [EMAIL PROTECTED] writes:
How add superscripts to GTKLabel text?
You can only do this in GTK 1.3.x/2.0. It is documented here:
http://developer.gnome.org/doc/API/2.0/gtk/gtklabel.html
See Markup section.
Havoc
___
gtk-list mailing
Paul Davis [EMAIL PROTECTED] writes:
i sincerely hope that in a future release of the 1.2 series,
pkg-config gets added.
Note that pkg-config has some dubious legacy hacks in it - try
pkg-config --cflags gtk for example.
Havoc
___
gtk-list
Isaac Pernas [EMAIL PROTECTED] writes:
Estoy intentando cambiar el fondo d un GtkEntry pero por más que lo
intento no me deja. Nosé que estoy haciendo mal. La versión de mis
librerías Gtk es la 1.2.
I'm trying to change de background color for my GtkEntry but i can´t.
I don't know what i'm
Andreas Scherf [EMAIL PROTECTED] writes:
Hello, im porting some apps to Gtk+2.0, i wondering how to get values
back from a GtkListStore ? I saw only functions to add or del values
inside the List but no function to get the data back.What i want is to
print a GtkTreeView so istored the data
Flávio Alberto Lopes Soares [EMAIL PROTECTED] writes:
Can I compile my application normally (I making my application using
GTK+ 1.2.10), or I must make some changes ?
You will need to port to 1.3.x/2.0, which is fairly simple and a good
idea anyway.
There's some information in the
Hi,
User Interface Design for Programmers by Joel Spolsky is good.
It's online in shortened form but the paper version is enough better
to be worth buying I think.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
K P-W [EMAIL PROTECTED] writes:
I have been trying to find out how tp set the font and the fontsize in
my program using gtk version 1.3.12 because the standard font is
unreadable.
This really isn't a reason to hardcode the font in your app - that
will just result in every app having a
Sven Neumann [EMAIL PROTECTED] writes:
I hope you are joking here. Forking gtk-config would be a really
evil hack. If that's indeed what pkg-config does, a crash is what
you deserve.
It allows you to use PKG_CHECK_MODULES with the GNOME 1 platform. It's
kind of a cheesy special case, but
Flávio Alberto Lopes Soares [EMAIL PROTECTED] writes:
Where can I download GTK+2.0 ?
Get 1.3.13 (the unstable version that will become 2.0). It's on ftp.gtk.org.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
Paul Davis [EMAIL PROTECTED] writes:
ah. thats different. thats an m4 macro that probably calls pkg-config
and handles failure. that doesn't mean pkg-config itself can handle it.
No, pkg-config itself definitely does ask a set of legacy *-config
scripts for results if it can't find .pc
Ralph Walden [EMAIL PROTECTED] writes:
It seems to me that glib innow REQUIRES the use of
GNU gettext, which is covered under GPL.
If that's true, then GTK2 can no longer be used
for commercial software development.
Is this intentional?
Am I missing something? Is there a way to
Ralph Walden [EMAIL PROTECTED] writes:
Where can I obtain the LGPL version of gettext?
I downloaded the gettext-0.11 version from
gnu.org, and there is no mention of LGPL, only GPL.
Look at intl/COPYING.LIB-2.1 in the source tree. Only the library part
of gettext is LGPL, the command line
Andreas Scherf [EMAIL PROTECTED] writes:
I have another problem,
i have 2 columns :
Number Name
Now i want that the user could edit the name but not want that he could
change the number. I have solved this by dont let the changes come
trough :
column = g_object_get_data (G_OBJECT (cell),
Vincent Arkesteijn [EMAIL PROTECTED] writes:
I would like to have a scrolled window, in which the child is only
scrolled in one direction. In the other direction, the child's size
should change when the user changes the size of the window. Is this
possible?
I think you just want to set
satyajit kanungo [EMAIL PROTECTED] writes:
I found the gtk sources still using deprecated features such as
GtkTypeInfo,GtkType variables, gtk_signal_new etc. Are there any
plans to removed these features in future versions.
I am thinking of making the changes to remove the
Flávio Alberto Lopes Soares [EMAIL PROTECTED] writes:
I make some modifications in my Makefile (attached in mail) in order
to compile my application in gtk+1.3 (gtk+2.0), in compilation I get
this messages (was several similar messages to each file of my
application, I put only piece of
Volkan Arslan [EMAIL PROTECTED] writes:
does someone know, when GTK+ 2.0 will be released ? I have looked at
www.gtk.org, but couldn't find anything regarding the release date of
GTK+ 2.0.
Look at developer.gnome.org/dotplan, it will be out before GNOME 2 is.
Havoc
satyajit kanungo [EMAIL PROTECTED] writes:
Well, I see gtk+ using lot of deprecated calls. I also saw many patches submitted
in bugzilla (#52790) but not yet gone into the source.
I have replaced all the GtkType GtkTypeInfo to GType GTypeInfo.
The attached diff contains the
Paul Davis [EMAIL PROTECTED] writes:
there are also so-called after handlers (connected with
gtk_signal_connect_after()) which are called after the default
handler. its not clear to me if these will still be called in 1.3/2.0
if a before handler returns TRUE. owen/havoc and others will
Ronald Kneusel [EMAIL PROTECTED] writes:
I have a GtkEntry which is attached to a fixed widget and that is
attached to a frame in another fixed widget.
The entry box appears and I can set the text, highlight the text
with the mouse, but cannot type in the box. Anything typed appears
at
Ronald Kneusel [EMAIL PROTECTED] writes:
You were correct! I created a full screen window as a POPUP window
and it wasn't getting keyboard focus. I made it a TOPLEVEL window
without decorations and all it well.
Right, POPUP windows should never be used if you need to type into the
window.
Deepa [EMAIL PROTECTED] writes:
gdk_input_remove ()
g_source_remove()
gdk_input_add ()
g_io_channel_add_watch ()
gdk_rgb_init ()
No longer required, simply delete all instances of this.
Havoc
___
gtk-list mailing list
Kerber, Ulrich [EMAIL PROTECTED] writes:
I wrote an app with a clist showing the contents of a log file; the
clist is updated every 60 seconds. Although i do a gtk_clist_clear,
the memory used is increasing with every run, even if no element is
added. After a day of work the amount reaches
nicholas allen [EMAIL PROTECTED] writes:
I thought there would be a gtk_window_iconify function or something
similar.
GTK 2 has this function.
In 1.2, you probably want to look at the GTK 2 source and copy what it
does. Check out the ICCCM to understand why it does it.
Havoc
Paul Davis [EMAIL PROTECTED] writes:
last time i looked at the replacement functions, their interface was
intimidating in the extreme. it required me to understand a *LOT* more
about glib than i wanted to. by contrast, gdk_input_*() were pitched
at exactly the right level. i spent 10
[EMAIL PROTECTED] writes:
I could open a pipe and have the unix signal handler write a
single byte to it when there's an interrupt, and then have
GTK attach an input handler to the output side of the pipe.
This is in general the best way to do it we've come up with.
These all seem to be
James Vanns [EMAIL PROTECTED] writes:
What am I doing wrong ?? Am I completely misunderstanding the use of
these functions!!???
No, they should work as you described. I'm guessing you're looking at
the wrong piece of code for the bug.
Havoc
___
Aleksey A. Malyshev [EMAIL PROTECTED] writes:
I have a problem with gtk_im_context_get_surrounding ().
Test case:
#include gtk/gtk.h
int
main (int argc, char** argv)
{
GtkIMContext *context;
gint *index;
gchar **text;
gboolean res;
gtk_init (argc, argv);
Yogeesh MB [EMAIL PROTECTED] writes:
In gnome-utils/Gnome-calculator has both GTK_OBJECT_CLASS destroy call
:gnome_calc_destroy(GtkObject * gobject), and G_OBJECT_CLASS finalize
:gnome_calc_finalize(GObject * gobject).
GTK_OBJECT_CLASS is deprecated and there is no destroy call in
Morten Andersen [EMAIL PROTECTED] writes:
Somehow my default language changed from english to polish or something
on almost all of my gnome apps and all GTK apps.
Does anyone know how to change it back to english??
This is a function of the desktop or operating system, not GTK.
Maybe the
Dennis Bjorklund [EMAIL PROTECTED] writes:
I add lines at the end of the textview and would like it to scroll down to
the bottom so I can see the new lines. But I can't get it to work. I
tried:
gtk_text_buffer_get_end_iter (buf, iter);
gtk_text_view_scroll_to_iter (view, iter,
Mark R. Rubin [EMAIL PROTECTED] writes:
o Someone (Havoc??) must know the right solution to this problem.
It depends on the situation. Some approaches are:
- gtk_signal_handler_block (g_signal_handlers_block, and by_func variants)
- don't do anything in the callback if the value hasn't
Mark R. Rubin [EMAIL PROTECTED] writes:
o I (possibly mis-) read Havoc's:
if (current_state == gtk_toggle_button_get_active (toggle))
return;
FWIW I think I did mean what Paul said, i.e. current_state is the
state of the object the toggle button affects.
Havoc
Ronald Bultje [EMAIL PROTECTED] writes:
is there an event which is triggered by moving windows? expose_event
only gets called on a full repaint, I basically need to do some work
whenever the drawing area is being increased/decreased in size or is
being moved, either relative to the parent
Bartosz \Neron\ Leper [EMAIL PROTECTED] writes:
I'm using Mandrake Linux and I've experienced some problems with displaying
GTK widgets: all applications I have that are written using GTK are
calculating word length incorrectly, which causes labels unreadable in some
cases.
This doesn't
Dominic Sacré [EMAIL PROTECTED] writes:
Hmm, a nightmare, indeed... But is there no reasonable way to get at least
the name (logical font description) of the default font?
Not really... you have to use GdkFontPrivate I think. Eel does it
somehow or other.
Havoc
Peter Van Osta [EMAIL PROTECTED] writes:
Is there still a manual somewhere that describes the GTK1.2 version of
GTK ?
If you download the GTK 1.2 tarballs (gtk+-1.2.x.tar.gz) there's a
copy of the 1.2 tutorial in there.
Havoc
___
gtk-list mailing
handler. (existance pointed out by Stefan Kost)
2001-02-19 Havoc Pennington [EMAIL PROTECTED]
* gdk/gdk.c (gdk_exit_func): #if 0 this for now, don't install it
(gdk_init_check): no atexit func
atexit functions are completely evil - the intent is to have none.
Havoc
Jimmy Lin [EMAIL PROTECTED] writes:
I'm a new comer of GTK+, I noticed that the api of GTK+1.2 and
GTK+2.0 is incompatible. So should I learn GTK+2.0 is much better
now? Please give me some advices. Thanks!!!
Yes, I would start with 2.0.
Havoc
[EMAIL PROTECTED] writes:
Hi all; I just saw that gtk 2 is coming out soon. It's probably
too late for 2.0, but could I get folks to consider the following
features for a future release? These comments stem from frustrations
I encountered while developing under gtk.
Most of these could
Enrico Weigelt [EMAIL PROTECTED] writes:
if someone's interested, i'll do the most of the work with implementing
an GC (Hans-Boehm-GC) in glib/gtk, but i need some help with testing the
build stuff (i wont touch this spooky automake) ...
I already did this a while ago, it's in CVS as
¶À¼y Kason Huang [EMAIL PROTECTED] writes:
hi:
you could try gtk_label_set_justify(GtkLabel *label,GtkJustification jtype);
typedef enum
{
GTK_JUSTIFY_LEFT,
GTK_JUSTIFY_RIGHT,
GTK_JUSTIFY_CENTER,
GTK_JUSTIFY_FILL
} GtkJustification;
for example:
gtk_label_set_justify
Anjali Grover [EMAIL PROTECTED] writes:
In order to get a bold label text, I loaded the
desired font into GtkFont boldfont;
Then I tried to get bold label text via:
label=gtk_label_new(text);
style = gtk_widget_get_style(label);
style-font = boldfont;
The result was everything
Ralph Walden [EMAIL PROTECTED] writes:
Can anyone comment on the changes between 1.2 and 2.0 that
woud break code using
gtk_type_unique(GTK_TYPE_BOXED, some_subclass_info );
in the _get_type function for a derived type?
You probably want g_boxed_type_register_static() instead.
Havoc
John Breen [EMAIL PROTECTED] writes:
Ok, I sit corrected. I guess I'll have to add more overhead and figure
out _how_ to handle the authentication. PAM _looks_ like it will do it,
but then again maybe not.
Has anyone done such a thing then, and prepared to share the
methodology? If
satyajit kanungo [EMAIL PROTECTED] writes:
Do we always need to attach the expose event to the drawing area to draw anything
on it .
Is there any other way where I can force the drawing .
Yes, all drawing should happen in expose_event. There are other ways
to do it sometimes, but
Norman Black [EMAIL PROTECTED] writes:
Are you saying that when a user hits the e key in my program I should
generate an expose event to draw the e in my window rather than simply
draw the e in response to them pressing e.
What you should do is call gtk_widget_queue_draw_area() or
Norman Black [EMAIL PROTECTED] writes:
The expose handler must be able to redraw any area anyway, so you may
as well put all drawing there for code cleanliness; putting all
drawing there is also crucial to be sure you don't have any flicker in
GTK 2.
My code does not flicker now on
Vahid Zahiri [EMAIL PROTECTED] writes:
hi all
i use this fuction,
gtk_label_set_markup (GTK_LABEL (label),
span size=\150\color=\red\Red/span
bigiText/i/big);
but i can't set size with this.
anyone can help me ?
and where i can find Pango samples?
Have you read
Srinivasan Sriram [EMAIL PROTECTED] writes:
I have a piece of code inside a button click event
handler to create 25 child processes. After forking
each child process, I want to update a progress bar to
let the user know the status of the forking and how
may processes it has forked. I am
Venkat Ramakrishnan [EMAIL PROTECTED] writes:
Thanks a lot for the help . I am using pango_layout_get_extents()
but I think using the above call I can get the width and height
of the string I am using but not the ascent and descent .
Please correct me if I am wrong but ascent and descent
Venkat Ramakrishnan [EMAIL PROTECTED] writes:
I am new to gtk+ so also to pango and I read Pango is the thing
to use for application using fonts etc . I am designing a UI for
a application (a user interface for a mediaplayer) on Linux. I have
so many text strings to display ,with various
Wasim Jaffer [EMAIL PROTECTED] writes:
I have a small problem in GtkTreeview .I am using
GtkTreeView to display 2 colums. By default these
colums are left justified. I want the colums to be
right justified. How can I do this?I used the call
gtk_tree_view_column_set_alignment (), but it
Jean-Christophe Berthon [EMAIL PROTECTED] writes:
I have another problem which is how to change the state of a
checkbox to Partially Checked.
GTK 2 has this feature, gtk_toggle_button_set_inconsistent() or
something like that is the function name.
Havoc
Jean-Christophe Berthon [EMAIL PROTECTED] writes:
Thank you Havoc for your help,
So there is no way to do it under gtk-1.2.10?
There isn't a built-in API for it. Perhaps you could make it work, but
I don't know how, offhand.
Havoc
___
gtk-list
Olaf Fr±czyk [EMAIL PROTECTED] writes:
When I try to compile anything (eg. arrow.c from examples) I get
errors. This is a problem with incorrectly set G_HAVE_ISO_VARARGS. Is
this compiler no longer supported?
The configure checks for it are probably wrong; have a look at
configure.in and
[EMAIL PROTECTED] (Joachim Klähn) writes:
trying out example 1 of section GtkDrawinArea of GTK2.0.0 Reference
Manual (sample code at the end of the mail) I got some trouble.
I'm using GTK2.0.0
The sample draws a filled circle in a window.
Changing the width of the window changes the
Bernd Demian [EMAIL PROTECTED] writes:
First the question: Can somebody show me a simple way to change the
color of one or more rows in GtkTreeView. In CList it was simple to use
the function gtk_clist_set_background.
I don't think there is one. What's the application?
You probably have
Deborah Swayne [EMAIL PROTECTED] writes:
Is it appropriate to look at a gobject's ref_count, or is
that supposed to be private? I've been keeping track of its
value whenever I deliberately increment or decrement it, but the
code makes it look as though I'm doing something improper -- and
Bernd Demian [EMAIL PROTECTED] writes:
Looks like a divide-by-zero in gtkrange.c. This is in 2.0.0?
Yes 2.0 on alpha - 64 bit - offen a problem.
Should be sure it's in bugzilla.
btw I have a second question - we are porting a motif appl with
bxm-widgets. the list widget has a feature to
Ian Britten [EMAIL PROTECTED] writes:
[ If you can't/shouldn't link libc in statically, how to most people create
static executables? If the problem is as you describe, then it would seem
that the -static GCC option is useless/dangerous... ]
Yes, it basically is useless/dangerous.
The
Simon Hookway [EMAIL PROTECTED] writes:
what you have:
GtkWidget *window;
GdkPixbuf *pixbuf;
GtkWidget *widget;
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
widget = gtk_event_box_new();
gdk_pixbuf_render_to_drawable (pixbuf,
widget-window,widget-style-white_gc, 0, 0,0,0,
Nicolas web [EMAIL PROTECTED] writes:
Hi. Someone can tell me how can I disable and enable a
widget? A function or command.
See:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
http://www.gtk.org/faq/
Havoc
___
gtk-list mailing
Philip Bunce [EMAIL PROTECTED] writes:
sh: gnome-config: not found
This only appears because pkg-config is trying to fall back to
gnome-config when gtk+-2.0 isn't found
So I set the environment variable to
setenv PKG_CONFIG_PATH /export/home/pjb/gtk2/gtk+-2.0.0
PKG_CONFIG_PATH needs to
Philip Bunce [EMAIL PROTECTED] writes:
See... No gtk+-2.0.pc. It would seem as if the pkg-config install didn't happen
properly?
Well not pkg-config, but rather GTK didn't install its .pc files.
What should I try next?
Look at the output from configure and make install for GTK, and see
Deepa Chacko Pillai [EMAIL PROTECTED] writes:
I am porting GdkFont in stock-ticker to Pango. I am not able
to find the Pango font which will display the up/down arrow
characters. Previously, it was Symbol (Adobe). When I used
Symbol as the font to Pango, it gave me Invalid UTF8 string
Bradley F. Hartman [EMAIL PROTECTED] writes:
I downloaded the latest version of GTK along with the libraries on which
gtk+-2.0.0 depends. After resolving some minor configuration installation
problems, I was able to compile all libraries for Solaris 2.6.
I decided to run some of the
Paul Davis [EMAIL PROTECTED] writes:
i have a menu which as 2 item that potentially need updating every
time it is displayed (its a submenu of a menubar). at the moment, i
connect to the map_event, remove (and delete) all the items, recreate
new items, and return FALSE. this works, but after
901 - 1000 of 1140 matches
Mail list logo