Hello,
I have just subscribed to this list, so this may have been discussed
before.
I was looking at a way to change the default behaviour of the
fileselection widget to show all files, including 'dotfiles' and it seems to
me there is no way to do this currently.
I have patched my own
Ok, I'll ask it in another way:
If I create a check button and want to differentiate between toggled
event and a button_press_event emitted because the right button has
been pressed, can I connect only the button_press_event signal and
then ask in my callback which button has been pressed?
Lokesh Setia wrote:
o When the file selection widget is used in the context of Save as,
the filename goes off as soon as the directory is changed. Is it a
bug in gtk+ 1.2? Or a feature that can be changed?
It's a feature that can't be changed :-) Lots of people have done new
Hello,
I had some problems with using Gtk-- menu system. Your
help will greatly appreciated.
First, it looks there is no function to get the title
of the menu/menuitem (there is a function to set_title
though). If I have a function which takes a menu name
and item name, how can I check whether
Hi Simon,
Simon Budig [EMAIL PROTECTED] writes:
I am currently evaluating different Toolkits for an embedded application.
I'd like to ask if some people here have made some experiences with
GTK+ (on Framebuffer or on X11) in an embedded device.
we (http://www.convergence.de/) use GTK+-1.3
dodi-nug wrote:
There is a lack of how to draw graphic using gdk.
so if you guys have an example to draw a simple x=y graphic,
please tell me.
There's the scribble example in the tutorial:
http://www.gtk.org/tutorial/ch-scribble.html
For fancier GDK stuff, any source covering Xlib
John == John Cupitt [EMAIL PROTECTED] writes:
John Lokesh Setia wrote:
o When the file selection widget is used in the context of
Save as, the filename goes off as soon as the directory is
changed. Is it a bug in gtk+ 1.2? Or a feature that can be
changed?
John
Hello,
anyone knows how can i force a GtkText widget to use
specific fonts ?
for example, a widget with fixed fonts.
Thanks.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi all,
Sometimes, I get really weird bug reports and I have no clue what they
mean. I have a user who has severe problems getting the whole thing to
start at all, he gets the following notice:
[root@localhost temp]# studio
Oops, error opening /root/.studio/studio_editlist.eli (open_eli_file)
Hi!
I'm newbie at gtk and I need a little help; I'm trying
to create a new Widget its based on a drawingarea, but
I have 2 problems:
1. If I declare another widget of the type I'm
creating, gtk returns me the following error:
Gtk-CRITICAL **: file gtkbin.c: line 217
(gtk_bin_add): assertion
I am running linuxppc-2000-Q4 on my Apple Titanium PowerBook. I am
_not_ runnig gnome just straight enlightenment. I have rpm's for
XFree86 installed (4.0.99) version.
My question is: where does gtk get it's fonts from? (xfs?) I have a
couple of
programs, namely gscanbus and gaim which don't
Title: RE: Newbie questions
Ok, you can pass whatever you want to the callback using your gpointer data:
gboolean on_expose_event(GtkWidget *widget, GtkEvent *event, gpointer data)
{
struct my_struct_t *ms = (my_struct_t *)data;
...
/* Use ms as you wish */
...
return TRUE;
}
or even
Could someone explain how the properties-changed signal in
GObject is supposed to work? How do you write objects so they use
it properly?
Ron Steinke
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Ira Weiny [EMAIL PROTECTED] writes:
My question is: where does gtk get it's fonts from? (xfs?)
They come from the X server, GTK isn't doing anything different from
any other X app.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
Ron Steinke [EMAIL PROTECTED] writes:
Could someone explain how the properties-changed signal in
GObject is supposed to work? How do you write objects so they use
it properly?
You don't use it - we are campaigning to get it removed because it
slows down GTK a lot and is not
Hello!
I'm going nuts with GDK-Pixbuf... I searched all over the net for a small example but
failed to find it. The examples I did find utilize gnome.h, which I try to avoid.
Here's my problem: I have to put simple jpg or gif graphics (with known dimensions,
bits, ...) to screen. I tried to
When I try to build atk from CVS, configure gives the following error:
./configure: line 5864: syntax error near unexpected token ``(a'
./configure: line 5864: ` case `(ac_space=' '; set | grep ac_space) 21` in'
The surrounding code is:
# The following way of writing the cache mishandles
Hi folks,
I'm having some trouble sending events around CanvasItems and
GtkAdjustments. I'm thinking I need to create a new event type,
something like activate or trigger_my_event. But the functions
listed to do that seem a bit heavy for my used (eg., # of bytes for
function() pointer?).
Havoc Pennington wrote:
David J. Topper [EMAIL PROTECTED] writes:
Is there a way for me to force a window to remain in focus? I've got
some popup windows on a canvas, that of course drop to back when focus
moves off them. I'm looking for an easy way to force them to remain on
top.
I was told that gtk has a mechanism for automatically setting or removing
the focus on widgets in response to events such as keypresses. I think
this mechanism has been enabled somewhere inside Mozilla and is causing
all kinds of focus-related problems with Mozilla plugins.
Can anyone tell me
On 11 Jun 2001 16:30:14 -0400, David J. Topper wrote:
Hi folks,
I'm having some trouble sending events around CanvasItems and
GtkAdjustments. I'm thinking I need to create a new event type,
something like activate or trigger_my_event. But the functions
listed to do that seem a bit heavy
Jeroen Benckhuijsen wrote:
I don't think you want GdkEvents. Most (or all) of them are translations
of X Window Events, like an event to redraw a window, resize it, move a
mouse, etc, etc.
You're correct. Signals are what I really want. But I'm unable to find
a list on the Gnome pages.
If I were to write a gtktext replacement using gtkpixmap, what are the
easiest ways for.
1) Letting the pixmap receive the focus when the user clicks on the editor.
2) Preventing the focus from leaving the widget on tab or arroy key press.
Thanks for your time.
Ian King.
David Signals are what I really want. But I'm unable to find a list on
David the Gnome pages. Similarly, the .h files are a bit elusive too
David (eg., gtksignal.h doesn't have them).
Try the GtkWidget reference manual page:
On Tue, Jun 12, 2001 at 12:52:59AM +0200, Andrej Prsa wrote:
Hello!
I'm going nuts with GDK-Pixbuf... I searched all over the net for a small example
but failed to find it. The examples I did find utilize gnome.h, which I try to avoid.
Here's my problem: I have to put simple jpg or gif
On Mon, Jun 11, 2001 at 08:46:46PM +0200, Ronald Bultje wrote:
gdb shows no backtrace for this error (because it's not a segfault). And
the program starts up, the window appears for 0,1 second but he doesn't
get the the notice that it got past gtk_widget_show(window) so something
is going
Ken Simpson [EMAIL PROTECTED] writes:
I was told that gtk has a mechanism for automatically setting or removing
the focus on widgets in response to events such as keypresses. I think
this mechanism has been enabled somewhere inside Mozilla and is causing
all kinds of focus-related problems
Andrej Prsa [EMAIL PROTECTED] writes:
image = gdk_pixbuf_new_from_file (test.jpg);
canvas = gdk_pixmap_new (window-window, 262, 392, 8);
The 8 argument here is totally bogus, it will only work if your
display is 8-bit. If window-window existed (and it doesn't here)
you could then pass -1
Hi,
Get latest pkg-config from http://www.freedesktop.org/software/,
and be sure to re-run autogen.sh.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
David J. Topper [EMAIL PROTECTED] writes:
I mean a window, they are GtkWindows, not popups. I'm using them to get
parameters for items created on the fly (eg., length, width, height) and
I don't want the windows to drop in back when I accidentally move the
mouse off them.
I don't
Ian King [EMAIL PROTECTED] writes:
If I were to write a gtktext replacement using gtkpixmap,
This is a totally weird thing to do, btw.
1) Letting the pixmap receive the focus when the user clicks on the
editor.
Set the GTK_CAN_FOCUS flag, handle focus_in_event and focus_out_event,
and
What is wrong with the following code:
(SPWorkSpaceView is the class name and FileSelectChild
is a method. _file_list is a Gtk::List)
_file_list-select_child.connect(bindList*,
Window*(slot(this,
SPWorkSpaceView::FileSelectChild), _file_list,
_main_window));
Compiler gives:
no matching
Or do you mean GTK has support for moving focus via the Tab key, etc.?
This is handled initially in the key_press_event default handler in
gtkwindow.c and from there moves into the focus virtual
function/signal on specific sub-containers.
I apologize if I wasn't clear in my email. The
Ken Simpson [EMAIL PROTECTED] writes:
Is this the code which performs automatic focus changing in response to
keypresses? It certainly seems to fit the symptoms :)
Hmm.. But there doesn't appear any way of turning it off.
Yep, that's the code. Writing other widget sets is not what GTK is
Thanks. It seems I was running the sourceforge CVS version of pkg-config,
which is old.
Ron Steinke
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
I Created a H-Paned Box with a notebook in each of the panels with gtk_panel_add.
When I hide the left notebook, the left panel goes hidden. But the right notebook
doesnot takes the empty space, and the gutter stays visible. Is it the expected
behaviour?
The behaviour I expected was : when I
36 matches
Mail list logo