I have a question related to whether or not I need to go to more deliberate
lengths to hide/shield the gobject's I am producing from the users of my
library.
The api's I have implemented deliver (what I wish to be) opaque pointers
to the users of the library. There are _new, _free and a whole s
I had the same problem with a FileChooserWidget with an extra
GtkExpander widget in it. One solution is to make the window fixed
(unresizable). Of course, the downside is that the user can't resize
it himself. Let me know if you find another solution!
Cheers,
Samuel
On 8/21/06, Fernando Apestegu
Note that however GNet does NOT use GObject, it rolls its own object
type... I kinda wanted a twisted-like framework so that I could for
example subclass a GNetServer or otherwise connect signals to it to
respond to network events, and GNet doesnt let you do that in the
GObject way. I`m thinking I
Madhusudan E wrote:
> I am defining a new widget and within the class_init I am mapping
>
> Widget_class->key_press_event to local key press event handling function.
>
> But none of the keypress event is caught by my local function.
Maybe you forgot to activate key events when creating a GdkWin
On Mon, 2006-08-21 at 06:18, Chris Sparks wrote:
> I went looking fo rGNet and what is odd is that it says this:
>
> " It is written in C, object-oriented, and built upon GLib."
>
> C isn't object-oriented..
"Object-oriented" is a philosophy, not an attribute of a language.
C++ supports obj
On 8/21/06, Chris Sparks <[EMAIL PROTECTED]> wrote:
> I went looking fo rGNet and what is odd is that it says this:
>
> " It is written in C, object-oriented, and built upon GLib."
>
> C isn't object-oriented..
>
The C language does not object, however nothing prevents you from
having a Object
I went looking fo rGNet and what is odd is that it says this:
" It is written in C, object-oriented, and built upon GLib."
C isn't object-oriented..
Chris
Tristan Van Berkom wrote:
>Luka Napotnik wrote:
>
>
>
>>GTK+ is a graphical library for creating UI's. For socket programming
>>you h
#define _WIN32_WINNT 0x0500
#define WINVER 0x0500
#include
#include
#include
#include
int main(int argc, char **argv)
{
gtk_init(&argc, &argv);
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_window_set_title(GTK_WINDOW(window), "Splitting Test");
Wolfman writes:
> Juhu got Alpha working :)
Cool!
> Have u an ICQ UIN?
Nope. I am usually in #gtk+ on irc.gimp.org.
--tml
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi list!
I'm developing a simple application. I have a tabbed pane. Some of these
tabs are bigger than others, with more text and more widgets.
When I click on one of these tabs, the window growns, what is great, but
when I click in a smaller tab, the window doen't return to the minimum
required s
You must grab the focus at best on mouse over.
Madhusudan E wrote:
>
> Hi all,
>
>
>
> I am trying attach "key_press_event" to event_box, which contains a label.
>
> But it is not catching the key_press_event.
>
> Can someone suggest how to go abt this.
>
>
>
>
>
>
>
> Madhusudan
Hi all,
I am trying attach "key_press_event" to event_box, which contains a label.
But it is not catching the key_press_event.
Can someone suggest how to go abt this.
Madhusudan E,
HTIPL, Bangalore-08
- 9980527224
www.huawei.com
This e-mail and attachments contain confiden
Juhu got Alpha working :)
static gboolean expose(GtkWidget *widget, GdkEventExpose *event, gpointer
userdata)
{
cairo_t *cr = gdk_cairo_create(widget->window);
HWND hwnd = (HWND)gdk_win32_drawable_get_handle (widget->window);
SetWindowLong(hwnd, GWL_EXSTYLE,
Wolfman writes:
> 1.Do u know how to get the HWND(is there a way to get the HWND from
> HGDIOBJ?)
I don't know about HGDIOBJ, but you can get the HWND for a Gdk window
by including and using the function
gdk_win32_drawable_get_handle().
> Its looks quit easy under win32:
>
> // Set WS_EX_L
Good to know :)
1.Do u know how to get the HWND(is there a way to get the HWND from
HGDIOBJ?)
Its looks quit easy under win32:
// Set WS_EX_LAYERED on this window
SetWindowLong(hwnd, GWL_EXSTYLE,
GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);
// Make this window 70% alpha
SetLayered
Wolfman writes:
> Is there a other way to make a window transparent? And why this
> doesnt work under WinXP?
Windows with alpha aren't implemented in gdk/win32. Patches
welcome. Look for "layered windows" in MSDN.
--tml
___
gtk-app-devel-list mailing
I use WinXP with GTK+ 2.8.18
This dont work the colormap is always null...
GdkScreen *screen = gtk_widget_get_screen(widget);
GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen);
Is there a other way to make a window transparent? And why this doesnt work
under WinXP?I know in *NIX u ne
Hi All,
I am defining a new widget and within the class_init I am mapping
Widget_class->key_press_event to local key press event handling function.
But none of the keypress event is caught by my local function.
Pls give out ur suggestions over this.
Thanks,
Madhusudan E,
HTIPL,
On 8/20/06, n3ck <[EMAIL PROTECTED]> wrote:
> Hi every1!
> Im was delphi (win) coder for a while but now i use linux as OS.
> I really like to code so i choose GTK for build applications on linux.
> I have been searching for some tutorial, text or articule about how
> to build cliente/server apps u
On
12:33:05 am 21/08/2006 Wolfman <[EMAIL PROTECTED]> wrote:
>
> @Stefan
> Can u tell me how to call the expose in simple example?
You don call that, gtk+ calls that to ask the widget to redraw. See
bt_sequence_view_expose_event() in
http://buzztard.cvs.sourceforge.net/buzztard/buzztard/src/ui/e
20 matches
Mail list logo