Thanks. I'll try this approach.
Regards
James Su
On Mon, Jul 27, 2009 at 2:28 PM, Tristan Van Berkom wrote:
> On Sun, Jul 26, 2009 at 11:21 PM, Zhe Su wrote:
> > Can anybody give me some suggestions about this issue?
> >
>
> Im not sure exactly how the keybindings are
Can anybody give me some suggestions about this issue?
On Fri, Jul 24, 2009 at 5:16 PM, Zhe Su wrote:
> Hi,
> GtkTextView widget can use key binding rules defined in gtkrc file. For
> example, when Emacs key theme is selected, ctrl-w will be mapped to
> cut-clipboard sign
Hi,
GtkTextView widget can use key binding rules defined in gtkrc file. For
example, when Emacs key theme is selected, ctrl-w will be mapped to
cut-clipboard signal. Now, I'm developing a custom widget and want to handle
those key bindings supported by GtkTextView. After reading the source code
o
Hi,
I'm writing a program which uses cairo to paint some customized
semi-transparent widgets.These widgets might overlap with each other.
However I didn't find a way to make the widgets truely semi-transparent. If
a widget is covered by another widget, then the covered area will always be
erased
Thanks a lot.
On Tue, May 20, 2008 at 11:52 AM, Havoc Pennington <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 2008/5/19 Zhe Su <[EMAIL PROTECTED]>:
> > So I'm wondering is there and method to move, resize and redraw a
> window
> > at the same time to avoid
Hi,
I just found that gdk_window_move_resize() can move and resize a gdk
window at the same time to avoid flick. However I found that it's still not
possible to redraw the window immediately after move and resize. I tried
following code:
gdk_window_move_resize(window_->window, x, y, width, heig
Hmm, there is a gdk_window_move_resize() and a private
gtk_window_move_resize(). I'm wondering why gtk_window_move_resize() is
private.
Regards
James Su
On Tue, May 20, 2008 at 12:28 AM, Zhe Su <[EMAIL PROTECTED]> wrote:
> I just found function gtk_container_set_resize_mode() w
I just found function gtk_container_set_resize_mode() which can set a
container to resize immediately. But GTK_RESIZE_IMMEDIATELY is marked as
deprecated. Is it the right function to achieve my goal? Why to deprecate
the immediately option?
Regards
James Su
On Mon, May 19, 2008 at 11:39 PM, Zhe
Hi,
I'm writing an application which needs to implement window resize drag
feature. Because of some reason, gtk_window_begin_resize_drag doesn't fit
this purpose. So I decide to emulate it by using
gtk_widget_set_size_request() and gtk_window_move(). Dragging right and
bottom border is just ok, b
I tested this method on Ubuntu 6.06 (very old), unfortunately, it doesn't
work at all. Neither focus in, nor enter notify event can be received.
Regards
James Su
On Tue, May 6, 2008 at 9:24 PM, Zhe Su <[EMAIL PROTECTED]> wrote:
> I tested it on Mac with gtk-x11, failed. But it
I hope so. But unfortunately, I just tested it in my application, no
focus-in event occurred when releasing the mouse button.
On Tue, May 6, 2008 at 9:01 PM, natan yellin <[EMAIL PROTECTED]> wrote:
> As far as I know, yes.
>
> On Tue, May 6, 2008 at 3:59 PM, Zhe Su <[EMAIL
Thanks. An interesting solution:-) Is it reliable?
Regards
James Su
On Tue, May 6, 2008 at 8:56 PM, natan yellin <[EMAIL PROTECTED]> wrote:
> You can connect a callback to the focus-in-event.
>
> Natan
>
> On Tue, May 6, 2008 at 3:54 PM, Zhe Su <[EMAIL PROTECTED]>
Hi,
I use gtk_window_begin_move_drag() to initiate the window drag action when
user drag a specific area of the window. And I want to know when the user
releases the mouse button, so that I can do some extra tasks after the
window move. However, it seems that after calling
gtk_window_begin_move_d
13 matches
Mail list logo