> > Then I'll need to put in my window some realtime graphic stuff, what is
> the
> > best widget available (I mean, is there a Xshm widget available, is there
> > some DGA stuff available through gtk, etc etc ?)
>
> gdk_draw_rgb_image() paints an RGB image as quickly as possible ... is
> that
>use a GtkAlignment with xalign and yalign set to 0.5.
or you can simply use a GtkFixed instead, in which you define the exact position
of the Widget:
GtkWidget *button = gtk_button_new_with_label("Hello");
gtk_widget_set_usize(button, 80, 25);
gtk_widget_show(button);
GtkWidget *fixed = gtk_
> copy_clipboard signal is emitted when you call
> gtk_editable_copy_clipboard(), and you call
> gtk_editable_copy_clipboard() from the signal handler.
Whew... The documentation indicates that this function "Causes the
characters in the current selection to be copied to the clipboard." This
i
I think I just got it. When I add 2 things on same rule line
/your way/ it seems to only "catch" files that have both a .cpp AND .h
version. It seems that .cpp files with NO .h analog EACH
need a separate rule for them. A
Chris
On Wed, Mar 27, 2002 at 10:59:18AM -0800, Christian Sebe
John
Thanks! I saw your jpeg and it is pretty similar to what
I am trying to do. I noticed you don't have the value
above your sliders. How does user know what value
he is getting when he uses your sliders???
There are lots of related widgets... sliders, scrollbars, hscales, etc.
and they all
Hi,
Christian Seberino <[EMAIL PROTECTED]> writes:
> I want a button to be centered horizontally in a vbox like this:
>
>
> --
> | -- |<--- vbox
> | |Button||
> | -- |
> --
>
>
> Notice empty space abo
Something like this?
gint width = drawingArea->allocation.width;
gint height = drawingArea->allocation.height;
drawingArea = window in your terminology I think.
Chris
On Wed, Mar 27, 2002 at 07:44:20PM +0100, Elisa Manara wrote:
> Hi all,
>
> I create a pixmap from a XPM file:
>
> g
Ron
Thanks for reply. I was getting desperate to get
this Makefile question answered since it was slowing
down my GTK+ work and I didn't know of any make mailing lists.
I hope this one post was OK. :)
I made the changes you mentioned to rules but now mysteriously
Main.cpp doesn't get flags when
Christian Seberino wrote:
> slider/scrollbars are good to enter values with a MOUSE...
>
> It will sometimes be nice to just type the number in
>with a KEYBOARD into some little BOX (whatever this widget is called)
>
> How do BOTH and what is the name of widget(s) to do this?
You can
Hi all,
I create a pixmap from a XPM file:
gdk_pixmap = gdk_pixmap_create_from_xpm( window->window, &mask,
&style->bg[GTK_STATE_NORMAL], "my_pixmap_file");
pixmap = gtk_pixmap_new( gdk_pixmap, mask );
How can I get width and height of a pixmap created as shown?
Thanks, Elisa.
___
Playing around with glade, here is what I found to work:
vbox
hbox <-- noexpand, nofill
button <-- expand, nofill
-
| |
| || |
| | -- |<-hbox|<--- vbox
| ||Button|| |
| | -- | |
All:
I can't find any documentation regarding how to get the results from a multiple
selection in a CList. Any help would be much appreciated. Thanks.
Neil Hodge
__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movi
From: Christian Seberino <[EMAIL PROTECTED]>
>
> This Makefile will recreate GTK+ object file if header file
> is "touched" with touch command which is good
>
> It will NOT recreate object file when *.cpp file is
> "touched" the same way.
>
> WHY IS the "%.o: %.h" rule working
> but the "%.o:
Christian> WHY IS the "%.o: %.h" rule working but the "%.o: %.cpp" rule IS
Christian> NOT!!??!?!?
You need to add the following line:
.SUFFIXES: .cpp
-
Mark Leisher
Computing Research LabTele
slider/scrollbars are good to enter values with a MOUSE...
It will sometimes be nice to just type the number in
with a KEYBOARD into some little BOX (whatever this widget is called)
How do BOTH and what is the name of widget(s) to do this?
Thanks,
Chris
--
==
I want a button to be centered horizontally in a vbox like this:
--
| -- |<--- vbox
| |Button||
| -- |
--
Notice empty space above, below and to right and left.
How do this
I created a hbox and pac
slider/scrollbars are good to enter values with a MOUSE...
It will sometimes be nice to just type the number in
with a KEYBOARD into some little BOX (whatever this widget is called)
How do BOTH and what is the name of widget(s) to do this?
Thanks,
Chris
--
==
This Makefile will recreate GTK+ object file if header file
is "touched" with touch command which is good
It will NOT recreate object file when *.cpp file is
"touched" the same way.
WHY IS the "%.o: %.h" rule working
but the "%.o: %.cpp" rule IS NOT!!??!?!?
Here is makefile...
PROGRAM =
I want a button to be centered horizontally in a vbox like this:
--
| -- |<--- vbox
| |Button||
| -- |
--
Notice empty space above, below and to right and left.
How do this
I created a hbox and pac
This Makefile will recreate GTK+ object file if header file
is "touched" with touch command which is good
It will NOT recreate object file when *.cpp file is
"touched" the same way.
WHY IS the "%.o: %.h" rule working
but the "%.o: %.cpp" rule IS NOT!!??!?!?
Here is makefile...
PROGRAM =
"Bradley F. Hartman" <[EMAIL PROTECTED]> writes:
> I just don't understand why my signal handler is called ~5K times before
> the program dumps core when I select "Copy" after right clicking in the
> text entry field. Any ideas?
>
copy_clipboard signal is emitted when you call
gtk_editable_
"Bradley F. Hartman" <[EMAIL PROTECTED]> writes:
> Owen,
>
> Thanks for the response.
>
> > What are you trying to achieve?
>
> Being relatively new to GTK, I am experimenting with different methods of
> accomplishing different tasks. I found that the default copy/paste
> methods worked wel
Owen,
Thanks for the response.
> What are you trying to achieve?
Being relatively new to GTK, I am experimenting with different methods of
accomplishing different tasks. I found that the default copy/paste
methods worked well but wanted to try my own copy/paste handler to ramp
up on the avail
"Bradley F. Hartman" <[EMAIL PROTECTED]> writes:
> Hello,
>
> I am having problems with the function, gtk_editable_copy_clipboard, on the
> Solaris 2.6 platform. I created a very simple program, which creates a
> GtkEntry (for text input), as shown below:
>
>entry = gtk_entry_new ();
>
Hello,
I am having problems with the function, gtk_editable_copy_clipboard, on the
Solaris 2.6 platform. I created a very simple program, which creates a
GtkEntry (for text input), as shown below:
entry = gtk_entry_new ();
gtk_entry_set_max_length (GTK_ENTRY (entry), 50);
I then attached
Le Mercredi 27 Mars 2002 11:24, Paul Davis a écrit :
> >Le Mercredi 27 Mars 2002 14:47, vous avez écrit :
> you probably didn't set the events to be received by the widget. see
> gtk_widget_set_events().
gtk_signal_connect (GTK_OBJECT (window), "event",
GTK_SIGNAL_FUNC (MyHandler), GTK_OBJEC
Title: GTK+ 2.0 linux-fb: gtk-demo segmentation fault in key_hash_insert_entry
Hi all,
Platform: x86, kernel 2.4.4 including a framebuffer driver.
Installation:
GLIB-2.0.0 standard
ATK-1.0.0 standard
PANGO-1.0.0 configured with "--without-x"
GTK+-2.0.0 configured with "--with-gdkta
>Le Mercredi 27 Mars 2002 14:47, vous avez écrit :
>
>> Make a menu and use gtk_menu_popup() to display it when you get a click.
>
>Yes, it works, thanks. But ... :)) (there's always a 'but' :)
>
>To connect my Drawing Area (RGB Image), I use that :
>
>gtk_signal_connect_object (GTK_OBJECT (Drawi
Le Mercredi 27 Mars 2002 14:47, vous avez écrit :
> Make a menu and use gtk_menu_popup() to display it when you get a click.
Yes, it works, thanks. But ... :)) (there's always a 'but' :)
To connect my Drawing Area (RGB Image), I use that :
gtk_signal_connect_object (GTK_OBJECT (DrawingArea),
Jean-Yves Lamoureux wrote:
> I will soon be interessted with contextual menus, what is the concerned
> widget ? (or a source/tutorial/doc that can explain me)
Make a menu and use gtk_menu_popup() to display it when you get a click.
> Then I'll need to put in my window some realtime graphic st
Hi all
I will soon be interessted with contextual menus, what is the concerned
widget ? (or a source/tutorial/doc that can explain me)
Then I'll need to put in my window some realtime graphic stuff, what is the
best widget available (I mean, is there a Xshm widget available, is there
some D
I was running my application overnight on three different machines (all
with the same configuration) and one of them crashed with the following
message:
Gdk-ERROR **: BadLength (poly request too large or internal Xlib length
erro
serial 1294146 error_code 16 request_code 74 minor_code 0
I hav
Hi every one,
please can someone send me or tell me where to get the applet-widget.h file ?
And if possible how to use this widget?
Thank you in advance !
Good Time,
Yours, Youssa !
Faites un voeu et puis Voila ! www.voila.f
33 matches
Mail list logo