On Wed, 2005-09-28 at 16:34 -0600, [EMAIL PROTECTED] wrote:
> In the constructor I assigned values to the two variables,
> namespace jme{
> class Data{
>public:
> std::string str;
> GtkWidget* obj;
>public:
> Data(){str = ""; obj = gtk_window_new(GTK_WINDOW_TOPLEVEL);}
>
In the constructor I assigned values to the two variables,
namespace jme{
class Data{
public:
std::string str;
GtkWidget* obj;
public:
Data(){str = ""; obj = gtk_window_new(GTK_WINDOW_TOPLEVEL);}
void setStr(std::string ps){ str = ps;}
void setObj(GtkWidget* o){
Thanks, I kinda thought it would be hard.
I've come up with this in mzgtk2 (the binding I'm writing).
You'll probably be able to recognize the widgets and function equivalents
(require (lib "mzgtk2.scm" "mzgtk2"))
(define w (gtk-window))
(define h (gtk-hbox))
(define l (gtk-layout))
(define e (
Hans Oesterholt wrote:
Hello all,
In Gtk+ there is a function to set the size of a window.
The closest you'll get afaik is gtk_window_set_default_size(),
your window might end up bigger if any child widgets have
a larger "size request"
Is it also possible to resize a widget, *after* it has b
Hello all,
In Gtk+ there is a function to set the size of a window.
Is it also possible to resize a widget, *after* it has been
showed?
Thanks in advance for answers,
Hans Oesterholt.
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/