Esempio n. 1
0
        public Gtk.FlowBoxChild GetChildAtPos(int x, int y)
        {
            IntPtr raw_ret = gtk_flow_box_get_child_at_pos(Handle, x, y);

            Gtk.FlowBoxChild ret = GLib.Object.GetObject(raw_ret) as Gtk.FlowBoxChild;
            return(ret);
        }
Esempio n. 2
0
        public Gtk.FlowBoxChild GetChildAtIndex(int idx)
        {
            IntPtr raw_ret = gtk_flow_box_get_child_at_index(Handle, idx);

            Gtk.FlowBoxChild ret = GLib.Object.GetObject(raw_ret) as Gtk.FlowBoxChild;
            return(ret);
        }
Esempio n. 3
0
        private void InternalChildActivated(Gtk.FlowBoxChild child)
        {
            ChildActivatedNativeDelegate unmanaged = class_abi.BaseOverride <ChildActivatedNativeDelegate>(this.LookupGType(), "child_activated");

            if (unmanaged == null)
            {
                return;
            }

            unmanaged(this.Handle, child == null ? IntPtr.Zero : child.Handle);
        }
Esempio n. 4
0
        private void InternalChildActivated(Gtk.FlowBoxChild child)
        {
            ChildActivatedNativeDelegate unmanaged = null;

            unsafe {
                IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("child_activated"));
                unmanaged = (ChildActivatedNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(ChildActivatedNativeDelegate));
            }
            if (unmanaged == null)
            {
                return;
            }

            unmanaged(this.Handle, child == null ? IntPtr.Zero : child.Handle);
        }
Esempio n. 5
0
 void InvokeNative(Gtk.FlowBox box, Gtk.FlowBoxChild child)
 {
     native_cb(box == null ? IntPtr.Zero : box.Handle, child == null ? IntPtr.Zero : child.Handle, __data);
 }
Esempio n. 6
0
        bool InvokeNative(Gtk.FlowBoxChild child)
        {
            bool __result = native_cb(child == null ? IntPtr.Zero : child.Handle, __data);

            return(__result);
        }
        int InvokeNative(Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2)
        {
            int __result = native_cb(child1 == null ? IntPtr.Zero : child1.Handle, child2 == null ? IntPtr.Zero : child2.Handle, __data);

            return(__result);
        }
Esempio n. 8
0
 public void UnselectChild(Gtk.FlowBoxChild child)
 {
     gtk_flow_box_unselect_child(Handle, child == null ? IntPtr.Zero : child.Handle);
 }
Esempio n. 9
0
 protected virtual void OnChildActivated(Gtk.FlowBoxChild child)
 {
     InternalChildActivated(child);
 }